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

Add external Script options to use in dynamic parameters

      The Groovy System Script allows us to use groovy scripts to populate the parameter selection.
      The problem is having a number of jobs that use the same script need to maintain it on every job.

      A externalized configuration like the Global Choice Parameter offers would help a lot.
      Reusing scriptler plugin may be another idea.

          [JENKINS-24116] Add external Script options to use in dynamic parameters

          Hi, anyone found a solution for this, any ideas?

          Artem Bityutskiy added a comment - Hi, anyone found a solution for this, any ideas?

          I've switched to jenkins pipeline, there you are free to define the parameters in groovy code and do that in a shared library which fixes the initial intention of the request.

          Daniel Geißler added a comment - I've switched to jenkins pipeline, there you are free to define the parameters in groovy code and do that in a shared library which fixes the initial intention of the request.

          Timo Sand added a comment -

          It would be brilliant if we could use code from the Pipelines Shared Libraries with this plugin!

          Timo Sand added a comment - It would be brilliant if we could use code from the Pipelines Shared Libraries with this plugin!

            Unassigned Unassigned
            dageissl Daniel Geißler
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: