From fda6187b4c757fe82ea2e0baeb1fd69e65158018 Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Thu, 8 Sep 2022 12:22:39 +0200 Subject: [PATCH] restored checkup and deploy methods in the same catch --- Jenkinsfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4682d7..fcc264b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -171,8 +171,6 @@ pipeline { ansiColor("xterm") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { 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}"); } }