fix checkup method exit condition

This commit is contained in:
Roberto Cirillo 2024-11-05 15:06:20 +01:00
parent 78904c0793
commit d678d87ec8
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -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]);
}