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

Progress bar in stage not shown correctly if using parallel step in stage

XMLWordPrintable

      If I use a parallel step within a stage block, the progress bar of the stage during the build is not showing correctly the progress.

      stage('Stage 3') {
              parallel (
                  el1: { sleep 10 },
                  el2: { sleep 20 }
              )
       }
      

      When building the example above, the progress bar of the stage shows finished after 10 seconds (with the duration of the first parallel thread). However, the main progress bar (of all stages) runs well. When the second parallel thread is finished (after 20 seconds), the duration of the stage changes to the complete duration of the stage (20 seconds).

        1. JENKINS-40031.png
          674 kB
          Jochen A. Fürbacher

            svanoort Sam Van Oort
            jochenafuerbacher Jochen A. Fürbacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: