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
- links to
Resolved with a quick PR (now in review). In my example I simply used:
input 'I am a \n multiline string'