-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins: 2.249.2
Pipeline: Declarative: 1.7.2
Pipeline: Multibranch: 2.22
Pipeline: Stage View Plugin 2.18
The multibranch workflow checkouts SCM repositories in a special stage "Declarative: Checkout SCM" (if it is not disabled by the skipDefaultCheckout option). This stage should be always displayed as first. If not then the whole Stage View history is lost after executing "Restart from Stage".
All names of special stages are defined in the org.jenkinsci.plugins.pipeline.modeldefinition.SyntheticStageNames class.
It contains preStages and postStages which could be used to put them always as first or last