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

All stages show up as UNSTABLE when one stage is unstable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins 2.176.3, Pipeline Stage View Plugin 2.12

      In the classical GUI all stages are shown as unstable when only one stage is (in BlueOcean it is displayed correct)

      My expectation: Only the unstable stage is displayed as unstable, others are not (while the complete build still is marked as unstable)

       

       

      #!groovy
      
      pipeline {   
      
          agent any
      
          stages {
              stage('successful') {
                  steps {
                      echo ('hello')
                  }
              }
              
              stage('unstable') {
                  steps {
                      unstable(message: "Failed: ${STAGE_NAME} => return UNSTABLE status")
                  }
              }
          }
      }
      
      

       

      Potentially related to JENKINS-39203

            svanoort Sam Van Oort
            chrop Christian Opitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: