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

labels and step script content shown inconsistently in blue ocean steps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Jenkins ver. 2.190.1
      Blue Ocean - BlueOcean Aggregator - 1.19.0

      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.

            Unassigned Unassigned
            brianjmurrell Brian J Murrell
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: