Remove script block.

This commit is contained in:
Manuele Simi 2019-12-09 16:02:48 -05:00
parent ed4b6bcef0
commit 9ec18e4bf2
1 changed files with 2 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -156,8 +156,7 @@ pipeline {
// the maven-parent needs to be built (once) at each execution
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"
@ -170,8 +169,7 @@ pipeline {
sh "echo -e \\\"maven-parent,${gjob.getResult()}\\\">> $JOB_REPORT"
echo "Done with maven-parent"
}
}
}
}
}
stage('build components') {