Jenkins multijob parameterize build - get params from sub jobs

1,994 views
Skip to first unread message

giora...@gmail.com

unread,
Jul 15, 2015, 5:02:25 AM7/15/15
to jenkins...@googlegroups.com
Hi all,
I have a job A with parameters
 I want to create another "master" job that will run job A
I want job "master" to be able to present A's parameters without me having to insert them once more into master job.

What I want to be able to do - is to have a parameterized build of "master" and see the parameters of job A

I hope I was able to explain my goal,
Thanks a lot for your help,
Giora

Marc Karasek

unread,
Jul 15, 2015, 3:33:05 PM7/15/15
to jenkins...@googlegroups.com
Just create a multijob and parameterize it.  There are a couple of checkboxes that will pass the parameters from the multijob down to the Phases.

The two options are under the advanced option for each Phase.  Click the Current job paramters option and under Add Parameters choose Current build parameters.
I do not know if you need both of these, but I turned both on in my builds and it works...
Reply all
Reply to author
Forward
0 new messages