Jenkins: How can I populate database parameters for parameterized work?

I need to get the values ​​from the database and show the parameters as a drop-down menu in the Jenkins parameter setting task. Is there a plugin available for this?

Help will be appreciated :)

+4
source share
1 answer

We must use the Jenkins Dynamic Parameter Plug-in to pull values ​​from the database and display the parameters in the drop-down list in the Jenkins parameterization task.

LINK:

https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Dynamic+Parameter+Plug-in

We have to write a groovy script to get the values ​​from the database and click on the link above for more details.

+1
source

Source: https://habr.com/ru/post/1493173/


All Articles