Need help on Parameterized Trigger Plugin of Jenkins

Deepti Kalakeri deepti.kalakeri at linaro.org
Tue Aug 16 17:55:40 UTC 2011


Hello Venkatraman,

Thanks for the quick reply.

On Tue, Aug 16, 2011 at 7:57 PM, Venkatraman S <venkat at linaro.org> wrote:

> 1. You should check the "This build is parametrized" box for the
> downstream (Sanity testing) job. Then the parameters for these jobs
> should be defined (preferably with some sane defaults)
>
>
The value would be defined at the end of the execution of the build steps.
How to assign such a value from the upstream job ? I can see the name of the
predefined parameter defined in the upstream job
as part of the environment variable in the downstream job but I am not able
to access the value variable ?
currently in the upstream job if TEST_HWPACK_NAME  is the predefined
variable how to access this in the downstream job ?
I tried using $TEST_HWPACK_NAME but I don't the value that is assigned to
that variable.

2. Select the "Trigger parametrized build on other projects" in the
> upstream job.
>  You can assign some default parameters, or, convert a parameter (or
> the environment variable) of the current job into the parameters of
> the downstream job.
>
> See the attached screenshot for hints..
>
> Hope this helps..
>
> Venkat.
>
>
Thanks and Regards,
Deepti.

>
> On 16 August 2011 18:02, Deepti Kalakeri <deepti.kalakeri at linaro.org>
> wrote:
> > Hello,
> >
> > I am using jenkins for continuous integration work.
> > I have a requirement where I need to trigger a job as part of the post
> build
> > step of a job.
> > For example I have a job to build a source and I would like to trigger
> the
> > job that tests the binaries as part of the post build step.
> > Although I am aware how to trigger a job in the post build step I am
> failing
> > to understand how to pass
> > certain parameters[ information that the next job needs to know to
> execute]
> > to the next job.
> > I came across the "Parameterized Trigger Plugin"  but it does not explain
> > how to access the parameters passed in the new job.
> >
> > Can someone help me with this ?
> >
> >
> > Thanks and Regards,
> > Deepti.
> >
> > _______________________________________________
> > linaro-dev mailing list
> > linaro-dev at lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/linaro-dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110816/41f2bd05/attachment.html>


More information about the linaro-dev mailing list