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

Add external Script options to use in dynamic parameters

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          dedekind Artem Bityutskiy added a comment -

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

          Show
          dedekind Artem Bityutskiy added a comment - Hi, anyone found a solution for this, any ideas?
          Hide
          dageissl 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.

          Show
          dageissl 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.

            People

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

              Dates

              Created:
              Updated: