Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 :)

like image 704
Kiran Avatar asked Nov 12 '22 01:11

Kiran


1 Answers

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.

like image 137
Kiran Avatar answered Dec 20 '22 05:12

Kiran