testing failure case

This commit is contained in:
Roberto Cirillo 2022-04-28 15:35:14 +02:00
parent 3048d0aa85
commit 33a2432636
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: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh "exit 1" sh "exit 1"
} }
sh ''' sh '''