TextParameterDefinition allows the user to specify that the input field should be a "textarea" rather than a "textinput"
I suspect this was an oversight in James's part to support this standard input type.
- Add support for TextParameterDefinition so that it shows up as a text area on the input screen.
- Ensure that this also works for Pipeline parameters as well as Pipeline Input
The following snippet / Jenkinsfile does currently not work with BlueOcean:
BlueOcean only returns a String with the entered text instead of a Map [text: "..", submitter: ".."] (which in the above code fails with "cannot cast to Map" Exception).
This works with the traditional Jenkins UI.