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

Preserve formatting on input box in stage view

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • None
    • Jenkins 2.13
      Pipeline: Input Step Plugin 2.0
      Pipeline: Stage View Plugin 1.5

    Description

      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.

      Attachments

        Issue Links

          Activity

            dhagener Dirk Hagener created issue -
            dhagener Dirk Hagener made changes -
            Field Original Value New Value
            Epic Link JENKINS-31156 [ 165812 ]
            dhagener Dirk Hagener made changes -
            Environment Jenkins 2.15
            Pipeline: Input Step Plugin 2.0
            Pipeline: Stage View Plugin 1.5
            Jenkins 2.13
            Pipeline: Input Step Plugin 2.0
            Pipeline: Stage View Plugin 1.5
            svanoort Sam Van Oort made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            svanoort Sam Van Oort made changes -
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 22 (Web Link)" [ 14623 ]
            svanoort Sam Van Oort made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            svanoort Sam Van Oort made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 173386 ] JNJira + In-Review [ 210215 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: