Hi Brian, I was testing the below solutions which you have provided. But no luck :( i tried to inject the jobname to a variable and fed the variable to "projects to build" but its not invoking the job :(
I tried to find the envInject plugin but no luck there too.. Is it because i am using hudson and your solution will work only in jenkins? Thanks, Arun On Saturday, 2 June 2012 17:24:24 UTC+5:30, BrianParker wrote: > > > On Thu, May 31, 2012 at 5:59 AM, Arun Kumar <[email protected]> wrote: > >> Thanks Brian, >> >> yes i use Parameterized trigger plugin. But if i use "projects to build" >> field, then i cannot condition the downstream job right? I got a answer to >> my query from OSUBeavBane as below. >> > > I'm glad you found an answer you like. However, for what its worth, yes > you can choose which job to trigger dynamically. Sorry I didn't spell it > our more clearly in my earlier response. Your parameterized trigger config > will look like this: > > Projects to build: ${JOB_NAME} > > An earlier build step will need to calculate which job to trigger and > inject the JOB_NAME value in to the environment. There may be several > ways to do this. You can use the EnvInject plugin. > > Cheers, > > Brian >
