Remove script block.
This commit is contained in:
parent
ed4b6bcef0
commit
9ec18e4bf2
|
@ -156,8 +156,7 @@ pipeline {
|
||||||
// the maven-parent needs to be built (once) at each execution
|
// the maven-parent needs to be built (once) at each execution
|
||||||
stage('build maven-parent') {
|
stage('build maven-parent') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
|
||||||
stage('check and build') {
|
|
||||||
if ( ("${resume}" == 'true') && (wasSuccess('maven-parent')) ) {
|
if ( ("${resume}" == 'true') && (wasSuccess('maven-parent')) ) {
|
||||||
// propagate success
|
// propagate success
|
||||||
sh "echo -e \\\"maven-parent,SUCCESS\\\">> $JOB_REPORT"
|
sh "echo -e \\\"maven-parent,SUCCESS\\\">> $JOB_REPORT"
|
||||||
|
@ -170,8 +169,7 @@ pipeline {
|
||||||
sh "echo -e \\\"maven-parent,${gjob.getResult()}\\\">> $JOB_REPORT"
|
sh "echo -e \\\"maven-parent,${gjob.getResult()}\\\">> $JOB_REPORT"
|
||||||
echo "Done with maven-parent"
|
echo "Done with maven-parent"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build components') {
|
stage('build components') {
|
||||||
|
|
Loading…
Reference in New Issue