moved trigger build to stage
This commit is contained in:
parent
a9c7b7b4cf
commit
9e3597f9f1
19
JenkinsFile
19
JenkinsFile
|
@ -41,17 +41,12 @@ pipeline {
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
// post-build actions
|
||||
post {
|
||||
success {
|
||||
echo 'The pipeline worked!'
|
||||
steps {
|
||||
script {
|
||||
build(job: 'is-registry-service-image', wait: false, propagate: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('trigger IS-registry image job') {
|
||||
steps {
|
||||
script {
|
||||
build(job: 'is-registry-service-image', wait: false, propagate: false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue