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 2020 input_pr_url : ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }}
2121 input_pr_title : ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }}
2222 # 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 }}
2424 JENKINS_URL : ${{secrets.CI_JENKINS_URL}}
2525 CONTAINER_IMAGE : ${{ secrets.JENKINS_TRIGGER_DOCKER_IMAGE }}
2626
@@ -52,11 +52,11 @@ jobs:
5252 JENKINS_URL : ${{secrets.CI_JENKINS_URL}}
5353 JENKINS_USER : ${{secrets.CI_JENKINS_USER}}
5454 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 }}
5656 PR_NUMBER : ${{ github.event.pull_request.number }}
5757 COMMIT_HASH : ${{ github.event.after }}
5858 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"
6060
6161
6262 # Runs a set of commands using the runners shell
You can’t perform that action at this time.
0 commit comments