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

parallel stages are displayed as passed even when they are not executed

    • Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2

      In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

      Sample pipeline code to reproduce:

      pipeline {
        agent any
          stages {
            stage("first stage") {
              steps {sh "zsleep 5"}
            }
           stage('Three parallel stages with different execution time'){
             parallel{
               stage("One"){
                 steps {sh "sleep 5"}
               }
               stage("Two"){
                 steps {sh "sleep 10"}
                }
                stage("Three"){
                  steps {sh "sleep 15"}
                }
             }
           }
         }
      }
      

          [JENKINS-47783] parallel stages are displayed as passed even when they are not executed

          Idikoro Eradiri created issue -
          Idikoro Eradiri made changes -
          Description Original: In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          New: In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          Idikoro Eradiri made changes -
          Summary Original: parallel stages are shown as passed even when they are not executed New: parallel stages are displayed as passed even when they are not executed
          Idikoro Eradiri made changes -
          Description Original: In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
          parallel{
          stage("One"){
          steps {sh "sleep 5"}
          }
          stage("Two"){
          steps {sh "sleep 10"}
          }
          stage("Three"){
          steps {sh "sleep 15"}
          }
          }
          }
          }
          }
          {code}
          New: In a pipeline with parallel stages, the parallel stages are shown as "passed" even when they are not executed.  If a preceding stage fails, the parallel stages are still shown as passed.

           !image-2017-11-02-07-19-27-955.png|thumbnail!

          Sample pipeline code to reproduce:
          {code:none}
          pipeline {
            agent any
              stages {
                stage("first stage") {
                  steps {sh "zsleep 5"}
                }
               stage('Three parallel stages with different execution time'){
                 parallel{
                   stage("One"){
                     steps {sh "sleep 5"}
                   }
                   stage("Two"){
                     steps {sh "sleep 10"}
                    }
                    stage("Three"){
                      steps {sh "sleep 15"}
                    }
                 }
               }
             }
          }
          {code}
          Idikoro Eradiri made changes -
          Component/s New: pipeline-model-definition-plugin [ 21706 ]
          James Dumay made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          James Dumay made changes -
          Epic Link New: JENKINS-43953 [ 181485 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.4 - beta 2 [ 426 ]
          Assignee New: Vivek Pandey [ vivek ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.4 - beta 2 [ 426 ] New: Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2 [ 416, 426 ]
          Karl Shultz made changes -
          Labels New: testing-notes-reviewed
          Andrew Bayer made changes -
          Component/s Original: pipeline-model-definition-plugin [ 21706 ]

            abayer Andrew Bayer
            kongkoro Idikoro Eradiri
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: