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

Render newlines for input step message (Blue Ocean)

      Blue Ocean doesn't correctly render input messages that contain newlines.

      The following works fine when examining Console Output or similar in the Classic UI, but in Blue Ocean, it's all rendered as a single string, making it difficult to read.

      input(message: "Are you officially ready to push to Chef with the following information? \n Environment: \n${env.CHEF_ENVIRONMENT}\n Commit: \n${env.ARTIFACT_COMMIT_MSG}")

      The following Pull Request fixed this issue in standard Pipeline, but I imagine Blue Ocean needs a distinct update of its own.

      https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/22

       

          [JENKINS-45706] Render newlines for input step message (Blue Ocean)

          Michael Schmitt created issue -
          James Dumay made changes -
          Link New: This issue duplicates JENKINS-45251 [ JENKINS-45251 ]
          James Dumay made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jenn Briden made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            schmitmd Michael Schmitt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: