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

Only last build is shown when steps are differents between builds

XMLWordPrintable

      When the last build adds a new stage and remove an existing stage, only last build is shown in Stage view.

      In attached images you can see build #4 correctly add Stage 3
      But build #5 does'nt old builds

      build #1-3 pipeline definition:
      node {
      stage 'Stage 1'
      echo 'Hello World 1'
      stage 'Stage 2'
      echo 'Hello World 2'
      }

      build #4 pipeline definition:
      node {
      stage 'Stage 1'
      echo 'Hello World 1'
      stage 'Stage 2'
      echo 'Hello World 2'
      stage 'Stage 3'
      echo 'Hello World 3'
      }

      build #5 pipeline definition:

      node {
      stage 'Stage 1'
      echo 'Hello World 1'
      stage 'Stage 2'
      echo 'Hello World 2'
      stage 'Stage 4'
      echo 'Hello World 4'
      }

      Also, it doesn't work when stages are conditionnal

            svanoort Sam Van Oort
            fabienfleureau Fabien Fleureau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: