Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64099

"Declarative: Checkout SCM" stage is not always displayed as first

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major 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".

      History:

      History lost:

          [JENKINS-64099] "Declarative: Checkout SCM" stage is not always displayed as first

          Adam Gabryś added a comment -

          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

          Adam Gabryś added a comment - 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

            Unassigned Unassigned
            agabrys Adam Gabryś
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: