Status: Resolved (View Workflow)
In Kyoto there is preparatory steps that get executed and postBuild stapes get executed as finally block.
- Preparatory steps
- Prefix all steps from it over to next stage
- postBuild stage
- Append all postBuild steps to the last executed stage's steps
- is blocked by
JENKINS-38153 Pre and post steps/stage handling
vivek we should perform the same heuristic for Pipeline script steps.
sh 'echo "foo"' would be put at the top of the first stage and sh 'echo "cool"' appended to the bottom of the second stage