-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: pipeline-stage-view-plugin
-
None
Pipeline input step (https://www.jenkins.io/doc/pipeline/steps/pipeline-input-step/) multiline parameter type TextParameterDefinition is converted to single line when used at stage view popup.
Â
Steps to reproduce:
1. For the following code:
Â
def multiline_text = '''multiline text''' stage('simple-test') { def result = input(message: 'pipeline-input-step test', parameters: [[name: 'text_param', $class: 'TextParameterDefinition', defaultValue: multiline_text]]) echo result }
2. At the stage view the multiline text parameter is presented as single line:
Â

3. Clicking button Proceed produces single line parameter result accordingly:
[Pipeline] echo multilinetext
Â
Expected result:
Multiline parameter of type TextParameterDefinition sustains new line characters like it is properly supported by action Paused for Input:

Â
(screens from Jenkins 2.346.2, Input Step Version 449.v77f0e8b_845c4)
- relates to
-
JENKINS-13916 Multiline text parameter displays as single line
-
- Reopened
-