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

fetch source values from jenkins extended choice parameter

XMLWordPrintable

      I have added an extended choice paramter. Now the source values are lin1, lin2, lin3 as listed in screenshot

      now when I run, If I select lin1 then I get param3 = lin1,

      If I select lin1 and lin2 then I get param2 - lin1,lin2 ( delimiter is comma )

      The question here is, inside jenkins pipeline how can get what all source values were set when the param was created. In short, without selecting any of the checkboxes, want to get the list of the possible values probably in a list

      Eg: list1 = some_method(param3) // expected output >> list1 = [lin,lin2,lin3]

      Let me know if this description is not clear.

            azee77 Azee
            azee77 Azee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: