Wrap code into a stage block.

This commit is contained in:
Manuele Simi 2019-12-09 16:00:42 -05:00
parent 54b0bb03de
commit ed4b6bcef0
1 changed files with 13 additions and 11 deletions

2
Jenkinsfile vendored
View File

@ -157,6 +157,7 @@ pipeline {
stage('build maven-parent') {
steps {
script {
stage('check and build') {
if ( ("${resume}" == 'true') && (wasSuccess('maven-parent')) ) {
// propagate success
sh "echo -e \\\"maven-parent,SUCCESS\\\">> $JOB_REPORT"
@ -172,6 +173,7 @@ pipeline {
}
}
}
}
stage('build components') {
steps {
script {