But my problem i am not able to execute the above code step. If i give fruits=banana apple then instead of creating two axis it will run with one axis taking fruits="banana apple".
It doesnt branch :( So i have a problem how to pass the parameter exactly. Thanks, Arun On Thursday, 7 June 2012 16:48:45 UTC+5:30, Brian J. Murrell wrote: > > On 12-06-07 07:06 AM, Arun Kumar wrote: > > Hi Brian, > > > > My requirement is like the variable value i give may differ everytime i > > execute the job. Like i may give "fruits=apple banana coconut" one time > and > > next time it will be different value. So i want to take that as a > variable > > to inject different values. Next time i may give "fruits=mango" > > Right. Just as I said: "You want a build parameter in the parent job to > set the [axis]" (I said hosts but that was just bias from my need). > > > So execution of the job should be when i give 3 fruit names there will > > concurrent execution of jobs for 3 fruits at a time. And when i give 1 > > there will be one execution at all. > > Right. Ultimately your parent job will be a matrix job, and > parameterized and the value of the axis comes from the parameter. In my > case, build steps would define the axis values. It's really one and the > same: the parent job defines the axis values for the child jobs > dynamically. Either with a parameter or with build steps. > > b. > >
