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

Wrong graph when parallel stages block contains only one stage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • blueocean 1.8.3
      jenkins 2.121.3

      When pipeline contains parallel stages block, but inside them there is only one stage, then stages after that block are not displayed. 

      Example pipeline:

      pipeline {
          agent {
              label "master"
          }
          stages {
              stage('Build') {
                  parallel {
                      stage('build') {
                          stages {
                              stage('x86') {
                                  steps {
                                      echo "test"
                                  }
                              }
                          }
                      }
                  }
              }
              stage('Static Analysis') {
                  steps {
                      echo "test"
      
                  }
              }
          }
      }
       

      After run there is no Static Analysis stage visible in blue ocean.

      Result:

       

      When in parallel will not be stages block - everything works fine 

            Unassigned Unassigned
            lukaszjob Lukasz Job
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: