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

labels and step script content shown inconsistently in blue ocean steps

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.190.1
      Blue Ocean - BlueOcean Aggregator - 1.19.0
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          misterz David Dumas added a comment -

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

          Show
          misterz David Dumas added a comment - This issue is frustrating, I can't find a workaround to have a clean step name all the time in BlueOcean UI.

            People

            • Assignee:
              Unassigned
              Reporter:
              brianjmurrell Brian J Murrell
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: