post actions
jenkinsfiles_play/declarative_branch There was a failure building this commit Details

declarative_branch
Denes Matetelki 6 years ago
parent 14fd830b65
commit 016f601c71

24
Jenkinsfile vendored

@ -11,11 +11,25 @@ pipeline {
echo "flag: ${params.userFlag}" echo "flag: ${params.userFlag}"
} }
} }
post { post {
always { always {
echo "this is always printed at the end of this stage" echo 'One way or another, I have finished'
} }
} success {
echo 'I succeeeded!'
}
unstable {
echo 'I am unstable :/'
}
failure {
echo 'I failed :('
}
changed {
echo 'Things were different before...'
}
}
} }
post { post {
always { always {

Loading…
Cancel
Save