How to create a master job which is to trigger a job from the given list of job names


(Noorul Sahabudeen) #1

I have some jobs A, B, C, D and E. I like to create a job Main which should show a choice parameter with A,B, C,D and E… On choosing a a choice i should get the parameter option for that job. On trigger it should trigger the selected job with given parameters. I do have file parameters as well in some of the job.
Above mentioned is the least requirement. If possible i need an option like to say add job and choose a choice and keep adding and trigger. This will help to trigger one after other builds.
I know we can manually achieve the same using checkbox parameter by adding manually and triggerring the job manually. But then i dont see an option to pull the parameter option from the job and show dynamically.

Any help is appreciated.