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

Render newlines for input step message (Blue Ocean)

XMLWordPrintable

      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

       

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

              Created:
              Updated:
              Resolved: