-
Improvement
-
Resolution: Not A Defect
-
Minor
The following pipeline does not trigger the post section:
pipeline { agent any stages { stage('Test') { when { expression { return false; } } steps { echo 'working' } post { always { echo 'post' } } } } }
I expected this to actually echo 'post' and for post to also have a 'skipped' option. Would love to see those.
- relates to
-
JENKINS-49944 support some handling for skipped stages
-
- Open
-
[JENKINS-47577] Post when stage is skipped due to when conditional
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link | New: This issue relates to JENKINS-49944 [ JENKINS-49944 ] |
Resolution | Original: Not A Defect [ 7 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Reopened [ 4 ] | New: Fixed but Unreleased [ 10203 ] |