diff --git a/Jenkinsfile b/Jenkinsfile index d414d7b..50be665 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -120,6 +120,11 @@ pipeline { echo "${TRIGGER_JOB},${TRIGGER_VERSION},${TRIGGER_HOST}" >> ${DEPLOY_FILE} fi ''' + catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') { + sh(""" + exit 126; + """) + } } } stage('Deploy from job ') {