Blueocean activity view for job has wrong status for pipeline with lots of stages

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • Component/s: blueocean-plugin
    • Environment:
    • Blue Ocean 1.1, Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.5 - beta 3

      If a Jenkins job named testjob1 that has a pipeline like this:

       

      pipeline {
          agent any;
          
          stages {
              stage("Stage 1") {
                  steps {
                      sh "sleep 20"               
                  }
                  
              }
              stage("Stage 2") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 3") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 4") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 5") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 6") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 7") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 8") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 9") {
                  steps {
                      sh "sleep 20"                
                  }
                  
              }
              stage("Stage 10") {
                   steps {
                      sh "sleep 20"                
                  }
                 
              }
          }
      }

       

      If I go to https://myhost/blue/organizations/jenkins/testjob1/activity/

      After about 4 or 5 stages have completed, the status of the job shows as completed and succeeded, even though the job is still running.

       

            Assignee:
            Nicolae Pascu
            Reporter:
            Craig Rodrigues
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: