post block in stage
jenkinsfiles_play/declarative_branch This commit looks good Details

declarative_branch
Denes Matetelki 6 years ago
parent 016f601c71
commit f02a064408

44
Jenkinsfile vendored

@ -10,30 +10,26 @@ pipeline {
steps {
echo "flag: ${params.userFlag}"
}
}
post {
always {
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 {
always {
echo "this is always printed at the end"
post {
always {
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...'
}
}
}
}
}
}

Loading…
Cancel
Save