-
Bug
-
Resolution: Fixed
-
Minor
-
-
Blue Ocean 1.5 - beta 3
Problem
Steps will appear out of order from where they were defined in the Jenkinsfile.
Jenkinsfile
pipeline { agent any stages { stage ('init') { steps { echo 'Hello World' } } } post { always { script { echo 'echo step before emailext step' emailext(subject: 'Test email', to: 'invalid@invalid.com') } } } }
Screenshot
Original Request
Here the correct classic UI console log:
Here the Blue Ocean UI with different output:
And this is the end of the declarative pipeline code:
post { failure { script { ... } } always { script { ... if (...) { echo 'Keeping this build forever and sending specific email notification with build report...' ... emailext(subject: '... Recovery Build Report', to: toEmails, attachLog: true, body: htmlBody, mimeType: Constants.CONTENT_TYPE_TEXT_HTML) } else { ... } ...
- relates to
-
JENKINS-49297 input step in post directive is never prompted within Blue Ocean
- Closed