Preserve formatting on input box in stage view

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Environment:
      Jenkins 2.13
      Pipeline: Input Step Plugin 2.0
      Pipeline: Stage View Plugin 1.5

      The following groovy pipeline:

      node {
         stage 'Do nothing'
      
      }
      
      node {
         stage 'Showcase'
         input """This text
      should appear on a new line!"""
      }

      results in preserving the line break at console while removing it at the input approval box in stage view (see attached files).

      To be able to present pretty formatted information to the submitter the input box should show the text the same way as the console output.

        1. jenkins_2.15_stageview.png
          157 kB
          Dirk Hagener
        2. jenkins_2.15_console.png
          148 kB
          Dirk Hagener
        3. Screen Shot 2016-07-13 at 12.04.29 PM.png
          60 kB
          Sam Van Oort

            Assignee:
            Sam Van Oort
            Reporter:
            Dirk Hagener
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: