jenkinsjenkins-pluginsjenkins-clijenkins-scriptler

Jenkins: How can I populate parameters from database to parameterized job?


I need to pull values from database and show parameters as dropdown in Jenkins parameterized job. Is there any available plugin to achieve this?

Help would be appreciated :)


Solution

  • We have to use Jenkins Dynamic Parameter Plug-in to pull values from database and show parameters as dropdown in Jenkins parameterized job.

    LINK:

    https://wiki.jenkins.io/display/JENKINS/Dynamic+Parameter+Plug-in

    We have to write groovy script to pull values from database and click on above link for more details.