diff --git a/Jenkinsfile b/Jenkinsfile index 7021971..87191fc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -206,6 +206,9 @@ pipeline { catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') { checkup("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}"); } + if (currentBuild.result == "UNSTABLE") { + return; + } catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { deploy("${params.TRIGGER_JOB}", "${params.TRIGGER_VERSION}", "${params.TRIGGER_HOST}", "${params.TRIGGER_FOO}"); }