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

declarative_branch
Denes Matetelki 6 years ago
parent 016f601c71
commit f02a064408

10
Jenkinsfile vendored

@ -10,7 +10,7 @@ pipeline {
steps { steps {
echo "flag: ${params.userFlag}" echo "flag: ${params.userFlag}"
} }
}
post { post {
always { always {
echo 'One way or another, I have finished' echo 'One way or another, I have finished'
@ -28,12 +28,8 @@ pipeline {
echo 'Things were different before...' echo 'Things were different before...'
} }
} }
}
post {
always {
echo "this is always printed at the end"
} }
} }
} }

Loading…
Cancel
Save