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