-
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".
[JENKINS-64099] "Declarative: Checkout SCM" stage is not always displayed as first
Summary | Original: "Declarative: Checkout SCM" is not always displayed as first | New: "Declarative: Checkout SCM" stage is not always displayed as first |
Environment |
New:
Jenkins: 2.249.2 Pipeline: Multibranch: 2.22 Pipeline: Stage View Plugin 2.18 |
Environment |
Original:
Jenkins: 2.249.2 Pipeline: Multibranch: 2.22 Pipeline: Stage View Plugin 2.18 |
New:
Jenkins: 2.249.2 Pipeline: Declarative: 1.7.2 Pipeline: Multibranch: 2.22 Pipeline: Stage View Plugin 2.18 |
Assignee | Original: Sam Van Oort [ svanoort ] |
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