If you are using the Parameterized Trigger plugin, the "projects to build"
field can be a build environment variable.  So, if you can inject the
downstream job name into the build environment, you can trigger it.

Cheers,

Brian


On Wed, May 30, 2012 at 1:03 AM, Arun Kumar <[email protected]> wrote:

> Hi,
>
> I have a requirement to trigger a job depending upon the input parameter.
> Lets say i have job J1,j2,J3 and J4
>
> The J1 executes and depending upon the input parameter x on job J1 it
> should trigger either J2 or J3. If the x is 1 it should trigger J2 and if
> the x is 2 it should trigger J3.
>
> some what like below flow chart
>
>                                                     J1
>                                             x=1  /   \  x=2
>                                                   /     \
>                                                  J2      J3
>
> Thanks in advance.,
> Arun
>

Reply via email to