Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66614

Extended Choice parameter is missing in Jenkin DSL

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(',') }

      }

            vimil vimil
            sunilkp Sunil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: