[JIRA] (JENKINS-59918) labels and step script content shown inconsistently in blue ocean steps

4 views
Skip to first unread message

brian.murrell@intel.com (JIRA)

unread,
Oct 24, 2019, 7:21:03 AM10/24/19
to jenkinsc...@googlegroups.com
Brian J Murrell created an issue
 
Jenkins / Bug JENKINS-59918
labels and step script content shown inconsistently in blue ocean steps
Issue Type: Bug Bug
Assignee: Unassigned
Components: blueocean-plugin
Created: 2019-10-24 11:20
Environment: Jenkins ver. 2.190.1
Blue Ocean - BlueOcean Aggregator - 1.19.0
Priority: Major Major
Reporter: Brian J Murrell

Somewhat related to JENKINS-53649 and as described there, but this feels like it deserves it's own ticket.

The content of a step in the B/O step summary seems inconsistent:

Those two steps in the red box are both of the form:

sh label: <label_name>,
   script: '''...'''

The first one is in the steps portion of the stage and looks like:

sh label: env.STAGE_NAME,
   script: '''...'''

and the second one is in the post->success portion of the stage and looks like:

 sh label: "Collect artifacts",
     script: '''...'''

But as you can see, they are displayed quite differently.  But why?

It doesn't seem like they should be.  The second step shouldn't have the label prefixed with the script content of step.

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

brian.murrell@intel.com (JIRA)

unread,
Oct 24, 2019, 7:22:10 AM10/24/19
to jenkinsc...@googlegroups.com
Brian J Murrell updated an issue
Change By: Brian J Murrell
Somewhat related to JENKINS-53649 and as described there, but this feels like it deserves it's own ticket.

The content of a step in the B/O step summary seems inconsistent:


Those two steps in the red box are both of the form:
{noformat}

sh label: <label_name>,
   script: '''...'''
{noformat}

The first one is in the {{steps}} portion of the stage and looks like:
{noformat}

sh label: env.STAGE_NAME,
   script: '''...'''
{noformat}
and the second one is in the {{post}}->{{success}} portion of the stage and looks like:
{noformat}

sh label: "Collect artifacts",
     script: '''...'''
{noformat}

But as you can see, they are displayed quite differently.  But why?

It doesn't seem like they should be.  The second step shouldn't have the label prefixed with the script content of step.

davdumas@gmail.com (JIRA)

unread,
Feb 6, 2020, 11:38:02 AM2/6/20
to jenkinsc...@googlegroups.com
David Dumas commented on Bug JENKINS-59918
 
Re: labels and step script content shown inconsistently in blue ocean steps

This issue is frustrating, I can't find a workaround to have a clean step name all the time in BlueOcean UI.

Reply all
Reply to author
Forward
0 new messages