-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.138.2
Pipeline: Model API 1.3.2
At the moment all pipeline post steps will be displayed in the latest defined stage. For example:
pipeline { agent; stages { stage('first stage') { ... } stage('last stage') { ... } } post { always { echo 'Hello World' } } }
The echo step will be assigned to the "last stage". Would be nice to have a new, "virtual" stage e.g. ("post actions") for all that things.
We do actually generate a stage to hold post build actions, but Blue Ocean rolls them up into the last stage executed. I'm moving this to blueocean-plugin so they can go into more detail on why.