User is trapped if a parallel stage is skipped. Blueocean shows "Waiting for run to start" instead of log messages.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In a pipeline with two parallel stages where one stage is skipped BlueOcean shows "Waiting for run to start", although the other stage produces log outputs. (See Waiting.PNG)

      It seems like the skipped stage is selected by default. However, there is no output.

      If there is an additional stage after the parallel stages and the pipeline reaches this stage, the pipeline is visualized properly. However, if you click on the skipped stage the message "Waiting for a run to start" is shown again. 

      Steps to reproduce:

      Execute the following pipeline:

      pipeline {
          agent any
          options {
              timeout(time: 120, unit: 'MINUTES')
              timestamps()
              skipDefaultCheckout()
          }
          stages {
              stage('Parallel Stage') {
                  parallel {
                      stage("Executed Stage") { 
                          steps { 
                              script {
                                for(i=0; i<1000;i++){
                                  echo "Temp"
                                  sleep 1
                                } 
                              } 
                          } 
                      }
                      stage("Skipped Stage") {
                          when { expression { false } }
                          steps { 
                              echo "I am skipped"    
                          }
                      }
                  }
              }
          }
      }
      
      

        1. image-2018-02-16-13-24-53-801.png
          23 kB
          Daniel Kurzynski
        2. Screen Shot 2021-01-17 at 8.09.06 pm.png
          47 kB
          DP
        3. Waiting.PNG
          10 kB
          Daniel Kurzynski
        4. wariting-for-run.png
          28 kB
          William Laszlo

            Assignee:
            Unassigned
            Reporter:
            Daniel Kurzynski
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: