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

Wrong graph when parallel stages block contains only one stage

    XMLWordPrintable

Details

    Description

      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 

      Attachments

        Activity

          There are no comments yet on this issue.

          People

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

            Dates

              Created:
              Updated: