BAEL:3628 - Trigger another job from a jenkins pipeline (#13170)
This commit is contained in:
parent
ba7371baac
commit
ee9122794c
|
@ -0,0 +1,15 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('build') {
|
||||
steps {
|
||||
echo "parentJob"
|
||||
}
|
||||
}
|
||||
stage('triggerChildJob') {
|
||||
steps {
|
||||
build job: "childJob", wait: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue