testing failure case

This commit is contained in:
Roberto Cirillo 2022-04-28 15:49:16 +02:00
parent 33a2432636
commit 7c354571ce
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -76,7 +76,7 @@ pipeline {
println "Deploy on going of component: $component" println "Deploy on going of component: $component"
} }
} }
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh "exit 1" sh "exit 1"
} }
sh ''' sh '''