Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: pipeline-stage-view-plugin
-
Similar Issues:
Description
If your pipeline groovy script has an input step which is a BooleanParameterDefinition, the default value is always true. Setting the default value to false has no effect.
Example generated by snippet generator:
input id: 'Test', message: 'testing123', ok: 'Deploy', parameters: [[$class: 'BooleanParameterDefinition', defaultValue: false, description: '', name: 'test']]
Attachments
Issue Links
- is duplicated by
-
JENKINS-40954 Honor defaultValue=false in BooleanParameterDefinition
-
- Closed
-
- links to
Merged in now, pending release once I resolve a side effect from updating the plugin parent pom.