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

All stages show up as UNSTABLE when one stage is unstable

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Duplicate
    • None
    • Jenkins 2.176.3, Pipeline Stage View Plugin 2.12

    Description

      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

      Attachments

        Issue Links

          Activity

            nickbrown Nicholas Brown added a comment - - edited Dupe of JENKINS-58783 ? Which was created as a result of: https://issues.jenkins-ci.org/browse/JENKINS-39203?focusedCommentId=372584#comment-372584
            chrop Christian Opitz added a comment - - edited

            Yes, seems to be a duplicate of the one mentioned. Closing this one.

            chrop Christian Opitz added a comment - - edited Yes, seems to be a duplicate of the one mentioned. Closing this one.

            People

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

              Dates

                Created:
                Updated:
                Resolved: