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

Blue Ocean view does not show descriptions for shell steps with multiple arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Blue Ocean version 1.7.0
    • Similar Issues:
    • Released As:
      workflow-durable-task-step 2.27

      Description

      Issue:

      When you have a shell step with either returnStdout or returnStatus being "true", the step does not show a preview like when those are not set to "true".

      Steps to Reproduce:

      Create a simple pipeline with the following definition:

      node('master'){
       sh 'echo "hello"'
       sh returnStdout: true, script: 'echo "hello"'
       sh returnStatus: true, script: 'echo "hello"'
      }
      

      And run the pipeline. Then look at it in Blue Ocean view and see that the first one has a description but the others do not.

        Attachments

          Activity

          Hide
          dnusbaum Devin Nusbaum added a comment -

          A fix for this issue was just released in version 2.27 of Pipeline Nodes and Processes Plugin.

          Show
          dnusbaum Devin Nusbaum added a comment - A fix for this issue was just released in version 2.27 of Pipeline Nodes and Processes Plugin.

            People

            • Assignee:
              cb_gavinmogan Dont Use
              Reporter:
              ataylor Alex Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: