Wrap maven-parent in a script block.

This commit is contained in:
Manuele Simi 2019-12-08 16:07:06 -05:00
parent fe1719cce5
commit 08e55f99b1
1 changed files with 13 additions and 11 deletions

2
Jenkinsfile vendored
View File

@ -157,6 +157,7 @@ pipeline {
// the maven-parent needs to be built (once) at each execution
stage('build maven-parent') {
steps {
script {
if ( ('true'.equals(${resume})) && (wasSuccess('maven-parent')) ) {
// propagate success
sh "echo -e \\\"maven-parent,SUCCESS\\\">> $JOB_REPORT"
@ -171,6 +172,7 @@ pipeline {
}
}
}
}
stage('build components') {
steps {
script {