Skip to content

Commit

Permalink
Update args
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 18, 2024
1 parent 884e635 commit 5a958f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ inputs:
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.jenkins_url }}
- ${{ inputs.api_token }}
- ${{ inputs.job_name }}
- ${{ inputs.job_params }}
- ${{ inputs.job_timeout_minutes }}

branding:
icon: 'check-circle'
Expand Down
10 changes: 5 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ else
fi
echo "Running jenkins test on repo: $pr_repo_url and branch: $branch_name"
pipenv run python3 default_webhook_trigger.py \
--jenkins_url="${{ inputs.jenkins_url }}" \
--pipeline_token="${{ inputs.api_token }}" \
--job_name="${{ inputs.job_name }}" \
--job_params="${{ inputs.job_params }}" \
--job_timeout_minutes="${{ inputs.job_timeout_minutes }}"
--jenkins_url="${{ INPUT_JENKINS_URL }}" \
--pipeline_token="${{ INPUT_API_TOKEN }}" \
--job_name="${{ INPUT_JOB_NAME }}" \
--job_params="${{ INPUT_JOB_PARAMS }}" \
--job_timeout_minutes="${{ INPUT_JOB_TIMEOUT_MINUTES }}"

0 comments on commit 5a958f3

Please sign in to comment.