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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean version 1.7.0
    • workflow-durable-task-step 2.27

      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.

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

              Created:
              Updated:
              Resolved: