-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
-
pipeline-model-definition 1.3.7
Look like after the update of this plug-in, the always step doesn't have the correct currentResult status anymore:
post { always { sendSlack(null, null,currentBuild.currentResult) } success { echo 'This will run only if successful' cleanup() } failure { echo 'Notify developer when build failure' printDebug() } unstable { echo 'This will run only if the run was marked as unstable' cleanup() } changed { echo 'This will run only if the state of the Pipeline has changed' echo 'For example, the Pipeline was previously failing but is now successful' } }
output:
- duplicates
-
JENKINS-56402 Declarative Pipeline shows SUCCESS even though job FAILED
-
- Reopened
-
[JENKINS-56590] Declarative pipeline post stage - Always step set wrong currentResult status
Link | New: This issue duplicates JENKINS-56402 [ JENKINS-56402 ] |
Released As | New: pipeline-model-definition 1.3.7 | |
Assignee | Original: Andrew Bayer [ abayer ] | New: Devin Nusbaum [ dnusbaum ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |