[JIRA] (JENKINS-60426) All stages show up as UNSTABLE when one stage is unstable

10 views
Skip to first unread message

Christian.Opitz@de.bosch.com (JIRA)

unread,
Dec 10, 2019, 11:53:02 AM12/10/19
to jenkinsc...@googlegroups.com
Christian Opitz created an issue
 
Jenkins / Bug JENKINS-60426
All stages show up as UNSTABLE when one stage is unstable
Issue Type: Bug Bug
Assignee: Sam Van Oort
Attachments: 2019-12-10_17h49_44.png
Components: pipeline-stage-view-plugin
Created: 2019-12-10 16:52
Environment: Jenkins 2.176.3, Pipeline Stage View Plugin 2.12
Priority: Minor Minor
Reporter: Christian Opitz

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")
            }
        }
    }
}

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

Christian.Opitz@de.bosch.com (JIRA)

unread,
Dec 10, 2019, 11:54:02 AM12/10/19
to jenkinsc...@googlegroups.com
Christian Opitz updated an issue
Change By: Christian Opitz
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)

 

!2019-12-10_17h49_44.png!

 
{code:java}

#!groovy

pipeline {   

    agent any

    stages {
        stage('successful') {
            steps {
                echo ('hello')
            }
        }
        
        stage('unstable') {
            steps {
                unstable(message: "Failed: ${STAGE_NAME} => return UNSTABLE status")
            }
        }
    }
}

{code}
 


Potentially related to JENKINS-39203

nickbroon@gmail.com (JIRA)

unread,
Jan 7, 2020, 10:10:02 AM1/7/20
to jenkinsc...@googlegroups.com

nickbroon@gmail.com (JIRA)

unread,
Jan 7, 2020, 10:10:03 AM1/7/20
to jenkinsc...@googlegroups.com

Christian.Opitz@de.bosch.com (JIRA)

unread,
Jan 13, 2020, 2:14:03 AM1/13/20
to jenkinsc...@googlegroups.com
Christian Opitz resolved as Duplicate
 
Change By: Christian Opitz
Status: Open Resolved
Resolution: Duplicate

Christian.Opitz@de.bosch.com (JIRA)

unread,
Jan 13, 2020, 2:15:02 AM1/13/20
to jenkinsc...@googlegroups.com
Christian Opitz commented on Bug JENKINS-60426
 
Re: All stages show up as UNSTABLE when one stage is unstable

Yes, probably a dupe of the one mentioned. Closing this one.

Christian.Opitz@de.bosch.com (JIRA)

unread,
Jan 13, 2020, 2:16:02 AM1/13/20
to jenkinsc...@googlegroups.com
Christian Opitz edited a comment on Bug JENKINS-60426
Yes, probably seems to be a dupe duplicate of the one mentioned. Closing this one.
Reply all
Reply to author
Forward
0 new messages