Boolean input parameter ignores default value of false

XMLWordPrintable

      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']]
      

            Assignee:
            jbq
            Reporter:
            Niko Konstantakos
            Votes:
            6 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: