Extended Choice parameter is missing in Jenkin DSL

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hi ,

      Ā 

      Extended Choice parameter is missing in Job DSL or no option to declare the same.

      For now have to use the configure block to define it

      Using Job DSL 1.77 and Jenkin VersionĀ Jenkins 2.277.2

      Ā 

      configure { xml ->
      xml / 'properties' / 'hudson.model.ParametersDefinitionProperty' / parameterDefinitions << 'com.cwctravel.hudson.plugins.extended_choice_parameter.ExtendedChoiceParameterDefinition'(plugin: 'extended-choice-parameter@0.82')

      { name('PROGRAM') description('Please select appropriate programs') quoteValue(false) visibleItemCount(5) type('PT_CHECKBOX') value('LTE,FZM,FSMR4,ASIK,WCDMA,ASIB,ASIL') defaultValue('LTE,FSMR4,ASIK,ASIB,ASIL') multiSelectDelimiter(',') }

      }

            Assignee:
            Unassigned
            Reporter:
            Sunil
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: