[JIRA] (JENKINS-57579) New "unstable" step is not visualizing stage as unstable

0 views
Skip to first unread message

r.fuereder@xortex.com (JIRA)

unread,
May 21, 2019, 6:26:01 AM5/21/19
to jenkinsc...@googlegroups.com
Reinhold Füreder created an issue
 
Jenkins / Bug JENKINS-57579
New "unstable" step is not visualizing stage as unstable
Issue Type: Bug Bug
Assignee: Devin Nusbaum
Attachments: image-2019-05-21-12-22-43-337.png
Components: pipeline
Created: 2019-05-21 10:25
Priority: Critical Critical
Reporter: Reinhold Füreder

From JENKINS-39203

Minimal (scripted) pipeline via (e.g. "Pipeline script" of a new job of type "Pipeline"):

stage('stage') {
  echo('In stage "stage"...')
}

stage('unstable stage') {
    unstable 'my message for unstable'
}

The build log is as expected:

[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] { (stage)
[Pipeline] echo
In stage "stage"...
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (unstable stage)
[Pipeline] unstable
WARNING: my message for unstable
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
Finished: UNSTABLE

This leads to the stage "unstable stage" rendered wrongly as being successful:

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

r.fuereder@xortex.com (JIRA)

unread,
May 21, 2019, 6:27:02 AM5/21/19
to jenkinsc...@googlegroups.com
Reinhold Füreder updated an issue
Change By: Reinhold Füreder
From JENKINS-39203

Minimal (scripted) pipeline via (e.g. "Pipeline script" of a new job of type "Pipeline"):
{code:java}

stage('stage') {
  echo('In stage "stage"...')
}

stage('unstable stage') {
    unstable 'my message for unstable'
}
{code}


The build log is as expected:
{noformat}

[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] { (stage)
[Pipeline] echo
In stage "stage"...
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (unstable stage)
[Pipeline] unstable
WARNING: my message for unstable
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
Finished: UNSTABLE
{noformat}

This leads to the stage "unstable stage" rendered wrongly as being successful:  !image-2019-05-21-12-22-43-337.png|thumbnail!

dnusbaum@cloudbees.com (JIRA)

unread,
May 23, 2019, 10:48:02 AM5/23/19
to jenkinsc...@googlegroups.com
Devin Nusbaum commented on Bug JENKINS-57579
 
Re: New "unstable" step is not visualizing stage as unstable

Thanks for filing a ticket! What versions of Pipeline Graph Analysis and Blue Ocean do you have installed?

r.fuereder@xortex.com (JIRA)

unread,
May 23, 2019, 11:15:01 AM5/23/19
to jenkinsc...@googlegroups.com

Pipeline Graph Analysis Plugin: 1.10
Blue Ocean: 1.16.0

dnusbaum@cloudbees.com (JIRA)

unread,
May 29, 2019, 2:44:04 PM5/29/19
to jenkinsc...@googlegroups.com
Devin Nusbaum started work on Bug JENKINS-57579
 
Change By: Devin Nusbaum
Status: Open In Progress

dnusbaum@cloudbees.com (JIRA)

unread,
May 29, 2019, 2:44:05 PM5/29/19
to jenkinsc...@googlegroups.com

Ok, it turns out that the PR I have open to Blue Ocean to fix the per-step icon also has a fix that matters in some cases for the overall visualization, so this should be fixed once that gets released. This comment on the PR has some technical details.

dnusbaum@cloudbees.com (JIRA)

unread,
May 29, 2019, 2:44:07 PM5/29/19
to jenkinsc...@googlegroups.com

dnusbaum@cloudbees.com (JIRA)

unread,
Jun 7, 2019, 10:19:04 AM6/7/19
to jenkinsc...@googlegroups.com
 

My PR was merged, but has not yet been released.

Change By: Devin Nusbaum
Status: In Review Fixed but Unreleased
Resolution: Fixed

r.fuereder@xortex.com (JIRA)

unread,
Jun 12, 2019, 7:09:02 AM6/12/19
to jenkinsc...@googlegroups.com

dnusbaum@cloudbees.com (JIRA)

unread,
Jun 17, 2019, 10:08:02 AM6/17/19
to jenkinsc...@googlegroups.com
 

Sorry, forgot to update the ticket. The fix was released in Blue Ocean 1.17.0.

Change By: Devin Nusbaum
Status: Fixed but Unreleased Resolved
Released As: blue-ocean 1.17.0
Reply all
Reply to author
Forward
0 new messages