generated from gCubeCI/Pipeline-Docker-Template
remove multiple steps from stage
This commit is contained in:
parent
d638ec5d4f
commit
c0164b40f0
|
@ -74,15 +74,10 @@ pipeline {
|
||||||
for (component in components) {
|
for (component in components) {
|
||||||
println "Deploy on going of component: $component"
|
println "Deploy on going of component: $component"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
steps {
|
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "exit 1"
|
sh "exit 1"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh '''
|
sh '''
|
||||||
echo "cleanup $DEPLOY_FILE";
|
echo "cleanup $DEPLOY_FILE";
|
||||||
if [ -f ${DEPLOY_BACKUP} ]; then
|
if [ -f ${DEPLOY_BACKUP} ]; then
|
||||||
|
|
Loading…
Reference in New Issue