restored checkup and deploy methods in the same catch

This commit is contained in:
Roberto Cirillo 2022-09-08 12:22:39 +02:00
parent e075a3d92b
commit fda6187b4c
1 changed files with 0 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -171,8 +171,6 @@ pipeline {
ansiColor("xterm") { ansiColor("xterm") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
checkup("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}"); checkup("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}");
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
deploy("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}"); deploy("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}");
} }
} }