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

Add support for passing Jenkins configuration information to the DSL

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • job-dsl-plugin
    • None

      Configurations for Jenkins plugins have an attribute "plugin" to enable compatiblity checks with more recent versions.

      Right now there is no way to access information on installed plugins and their versions from as DSL command. It might help adding a map containing configuration information to the parameters returned by JobManagement, like it is currently done for environment variables.

      I would require to change the getParameters() signatue from Map<String,String> to Map<String,Object>.

      The benefit would be that it would enable the DSL to generate configurations for different (possibly incompatible) versions of a plugin depending on the currently installed version or it could fail the build if a job configuration is installed for a plugin that is not yet installed.

            daspilker Daniel Spilker
            jabbrwcky Jens Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: