File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Trigger Jenkins CI
2+ on :
3+ - push
4+ - pull_request
5+ jobs :
6+ # This workflow contains a single job called "trigger_jenkins"
7+ trigger_jenkins :
8+ # The type of runner that the job will run on
9+ # runs-on: jenkins-trigger
10+ runs-on : self-hosted
11+ env :
12+ REPO_NAME : ${{ github.event.repository.name }}
13+ ORG_NAME : ${{ github.event.organization.login }}
14+ JENKINS_ROOT : ${{ secrets.JENKINS_CONTROLLER_URL }}job/${{ secrets.JENKINS_TRIGGER_ROOT_FOLDER }}/job/${{ secrets.JENKINS_TRIGGER_ORG_FOLDER }}/job/
15+ steps :
16+ - name : trigger single Job
17+ run : >
18+ curl -X POST -u "${{ secrets.JENKINS_TRIGGER_USER }}:${{ secrets.JENKINS_TRIGGER_TOKEN }}"
19+ ${{ env.JENKINS_ROOT}}/${{ env.ORG_NAME }}/job/${{ env.REPO_NAME }}/build\?delay=\0
Original file line number Diff line number Diff line change 1+ @Library(['PSL@LKG']) _
2+
3+ library identifier: 'cBuild_PSL@main', retriever: modernSCM([
4+ $class: 'GitSCMSource',
5+ remote: 'https://git.autodesk.com/ContinuousLocalization/PSL_cBuild.git',
6+ credentialsId: 'L10NCBCI-github-app-psl-ContinuousLocalization',
7+ ])
8+
9+ devRepoParameters("DynamoCore_CL")
10+
11+ node("cl-prd-azure-dynamic-win-vm") {
12+ cleanWs()
13+ devRepo()
14+ }
You can’t perform that action at this time.
0 commit comments