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

Sequential parallel stages show green while still running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin

      Consider this pipeline:

      pipeline {
          agent {
              label 'linux'
          }
          stages {
              stage('Parallel') {
                  parallel {
                      stage('parallel 1') {
                          stages {
                              stage('parallel 1-1') {
                                  steps {
                                      sh 'sleep 30'
                                  }
                              }
                              stage('parallel 1-2') {
                                  steps {
                                      sh 'sleep 30'
                                  }
                              }
                          }
                      }
                      stage('parallel 2') {
                          stages {
                              stage('parallel 2-1') {
                                  steps {
                                      sh 'sleep 30'
                                  }
                              }
                              stage('parallel 2-2') {
                                  steps {
                                      sh 'sleep 30'
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
      

      In Blue Ocean, this shows one of the parallel stages as complete even though it is still running (parallel 2-2) is still running:

            olamy Olivier Lamy
            ilederman Ilya Lederman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: