BAEL:3628 - Trigger another job from a jenkins pipeline (#13170)

This commit is contained in:
Kapil Khandelwal 2022-12-19 03:59:56 +05:30 committed by GitHub
parent ba7371baac
commit ee9122794c
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
pipeline {
agent any
stages {
stage('build') {
steps {
echo "parentJob"
}
}
stage('triggerChildJob') {
steps {
build job: "childJob", wait: true
}
}
}
}