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

Provide predefined lists of values in Manage Jenkins -> Configure System

    Details

    • Similar Issues:

      Description

      would be great to have a predefined lists in Manage Jenkins -> Configure System.

      And when you create a Extended choice parameter to select predefined list as source.

      I found a work around to have one job which creates config1.properties, config2.properties and then use parameter
      "Property File:" = http://<jenkins_url>/job/<configuration_job_name>/lastSuccessfulBuild/artifact/config1.properties
      "Property Key:" = list

      Here is similar plugin with such functionality, but I could configure it (it is old code base last upadte Dec 08, 2013)
      https://wiki.jenkins-ci.org/display/JENKINS/Extensible+Choice+Parameter+plugin

      Feature "Global Choice Provider"

      Please, let me know if such feature request make sense.

      Here is a Use Case:
      We use it to provide a list with server names and we have a lot of jobs.
      If I want to add one new server then I need to edit all the jobs.

      If this feature is implemented I could change only the global configuration.

      Also is there a way to export the default value list so I can use it later in build phase of the job as environment variable?

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          I'm not a maintainer of this plugin, but duplicating some kind of templating functionality (which could be offered much better in a dedicated plugin) in every plugin that has job-specific configuration makes little sense to me.

          Show
          danielbeck Daniel Beck added a comment - I'm not a maintainer of this plugin, but duplicating some kind of templating functionality (which could be offered much better in a dedicated plugin) in every plugin that has job-specific configuration makes little sense to me.

            People

            • Assignee:
              vimil vimil
              Reporter:
              istankov85 Ivan Stankov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: