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 bfbc1701a9
commit 782919c17d

View File

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