generated from gCubeCI/Pipeline-Docker-Template
fail case on job tested
This commit is contained in:
parent
34b5562dd4
commit
1d6274925a
|
@ -76,7 +76,7 @@ pipeline {
|
||||||
println "Deploy on going of component: $component"
|
println "Deploy on going of component: $component"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
sh "exit 1"
|
sh "exit 1"
|
||||||
}
|
}
|
||||||
sh '''
|
sh '''
|
||||||
|
@ -132,7 +132,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
echo "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
|
echo "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
sh "exit 1"
|
sh "exit 0"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue