Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: pipeline
-
Labels:None
-
Environment:Jenkins 2.259
Pipeline: Input Step 2.12
-
Similar Issues:
Description
When the 'submitterParameter' for the input step is set, the input dialog is not shown inline in the console log.
An "input requested" link is shown instead which redirects to the `/input` page of the current build.
This view does not render newlines in the input() messages.
'\n' are ignored, `<br>` is printed as it is.
How to reproduce
1. Run a build for the the pipeline script:
pipeline { agent any stages { stage('Hello') { steps { input(message: """please confirm\nnextline\n<br>br-nextline""", submitterParameter: 'approver') } } } }
2. Click on the "input requested" link in the job console (not blue ocean view)
3. The following is shown:
Expected behavior: '\n' in the message text is rendered as a line break
Attachments
Issue Links
- relates to
-
JENKINS-45251 User Input text doesn't be formatted in Blue Ocean
-
- Closed
-
JENKINS-45251same issue for blueocean view which was fixed