remove multiple steps from stage

This commit is contained in:
Roberto Cirillo 2022-04-28 15:22:49 +02:00
parent d638ec5d4f
commit c0164b40f0
1 changed files with 18 additions and 23 deletions

5
Jenkinsfile vendored
View File

@ -74,15 +74,10 @@ pipeline {
for (component in components) {
println "Deploy on going of component: $component"
}
}
}
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "exit 1"
}
}
steps {
sh '''
echo "cleanup $DEPLOY_FILE";
if [ -f ${DEPLOY_BACKUP} ]; then