File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
input_pr_url : ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }}
21
21
input_pr_title : ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }}
22
22
# set the pipeline name here based on branch name
23
- pipeline_name : ${{secrets.CI_JENKINS_JOB_NAME }}
23
+ pipeline_name : ${{secrets.CI_JENKINS_MAINLINE_JOB_NAME }}
24
24
JENKINS_URL : ${{secrets.CI_JENKINS_URL}}
25
25
CONTAINER_IMAGE : ${{ secrets.JENKINS_TRIGGER_DOCKER_IMAGE }}
26
26
@@ -52,11 +52,11 @@ jobs:
52
52
JENKINS_URL : ${{secrets.CI_JENKINS_URL}}
53
53
JENKINS_USER : ${{secrets.CI_JENKINS_USER}}
54
54
JENKINS_API_TOKEN : ${{secrets.CI_JENKINS_TOKEN}}
55
- JENKINS_JOB_NAME : ${{secrets.CI_JENKINS_JOB_NAME }}
55
+ JENKINS_JOB_NAME : ${{secrets.CI_JENKINS_MAINLINE_JOB_NAME }}
56
56
PR_NUMBER : ${{ github.event.pull_request.number }}
57
57
COMMIT_HASH : ${{ github.event.after }}
58
58
run : |
59
- docker exec -e JENKINS_JOB_NAME=${{secrets.CI_JENKINS_JOB_NAME }} -e PR_NUMBER=${{ github.event.pull_request.number }} -e COMMIT_HASH=${{ github.event.after }} -e JENKINS_URL=${{secrets.CI_JENKINS_URL}} -e JENKINS_USER=${{secrets.CI_JENKINS_USER}} -e JENKINS_API_TOKEN=${{secrets.CI_JENKINS_TOKEN}} "${{env.CONTAINER_NAME}}" /bin/bash -c "python3 cancel_previous_build.py"
59
+ docker exec -e JENKINS_JOB_NAME=${{secrets.CI_JENKINS_MAINLINE_JOB_NAME }} -e PR_NUMBER=${{ github.event.pull_request.number }} -e COMMIT_HASH=${{ github.event.after }} -e JENKINS_URL=${{secrets.CI_JENKINS_URL}} -e JENKINS_USER=${{secrets.CI_JENKINS_USER}} -e JENKINS_API_TOKEN=${{secrets.CI_JENKINS_TOKEN}} "${{env.CONTAINER_NAME}}" /bin/bash -c "python3 cancel_previous_build.py"
60
60
61
61
62
62
# Runs a set of commands using the runners shell
You can’t perform that action at this time.
0 commit comments