testing failure case

This commit is contained in:
Roberto Cirillo 2022-04-28 15:57:40 +02:00
parent 7c354571ce
commit 9b7c8d09d2
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -131,6 +131,10 @@ pipeline {
}
steps {
echo "Cron build disabled. New deploy of ${params.TRIGGER_JOB} - ${params.TRIGGER_VERSION} ongoing"
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh "exit 1"
}
}
}
}