make it return 0
jenkinsfiles_play/scripted_branch This commit looks good Details

scripted_branch
Denes Matetelki 6 years ago
parent f26b3f5a30
commit e2f4794691

2
Jenkinsfile vendored

@ -18,7 +18,7 @@ node('master') {
try {
stage('Test') {
sh 'echo "Fail!"; exit 1'
sh 'echo "Fail!"; exit 0'
}
echo 'This will run only if successful'
} catch (e) {

Loading…
Cancel
Save