generated from gCubeCI/Pipeline-Docker-Template
fix checkup method exit condition
This commit is contained in:
parent
78904c0793
commit
d678d87ec8
|
@ -339,6 +339,9 @@ def deployJobs(def serviceList){
|
||||||
println("Processing deploy: "+service[ 0 ])
|
println("Processing deploy: "+service[ 0 ])
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
|
||||||
checkup(service[0], service[ 1 ], service[2]);
|
checkup(service[0], service[ 1 ], service[2]);
|
||||||
|
}
|
||||||
|
if (currentBuild.result == "UNSTABLE") {
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
deploy(service[0], service[ 1 ], service[2]);
|
deploy(service[0], service[ 1 ], service[2]);
|
||||||
|
|
Loading…
Reference in New Issue