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

Hidden stage are not executed after restarting Jenkins

      I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting Jenkins due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

      In the attachment screenshot 'first', build worked fine and General SCM in it. In the attachment screenshot 'second', General SCM was lost and it did not fetch new changes.

        1. second.png
          second.png
          123 kB
        2. first.png
          first.png
          125 kB

          [JENKINS-48744] Hidden stage are not executed after restarting Jenkins

          Alan Yang created issue -
          Alan Yang made changes -
          Description Original: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes. New: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          Alan Yang made changes -
          Description Original: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          New: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          In the attachment screenshot 'first', build wored fine and it has General SCM.
          Alan Yang made changes -
          Description Original: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          In the attachment screenshot 'first', build wored fine and it has General SCM.
          New: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          In the attachment screenshot 'first', build worked fine and General SCM in it. In the attachment screenshot 'second', General SCM was lost and it did not fetch new changes.
          Alan Yang made changes -
          Description Original: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          In the attachment screenshot 'first', build worked fine and General SCM in it. In the attachment screenshot 'second', General SCM was lost and it did not fetch new changes.
          New: I use Declarative Pipeline and Multibranch pipeline job.Every time after restarting Jenkins due to plugin upgrade,the hidden stage 'Declarative: Checkout SCM' in Declarative Pipeline will not be executed and will be skipped.As a result, new changes can not be fetched from the git repository.But when I clicked 'Scan Multibranch Pipeline Now' manually, it fetched changes.

          In the attachment screenshot 'first', build worked fine and General SCM in it. In the attachment screenshot 'second', General SCM was lost and it did not fetch new changes.
          Alan Yang made changes -
          Assignee New: Alan Yang [ xy_alan ]
          Alan Yang made changes -
          Assignee Original: Alan Yang [ xy_alan ]
          Alan Yang made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Alan Yang made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: Alan Yang [ xy_alan ]
          Andrew Bayer made changes -
          Component/s New: pipeline-model-definition-plugin [ 21706 ]
          Component/s Original: pipeline [ 21692 ]
          Assignee Original: Alan Yang [ xy_alan ] New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-48571 [ JENKINS-48571 ]
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            abayer Andrew Bayer
            xy_alan Alan Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: