Check the 2nd screenshot -trigger_p..*.png. That's essentially composing the values to be passed to the downstream job. You have to have the same named parameter in your downstream job as well. Best regards, Venkat. (Sent from my phone)
On 8/16/11, Deepti Kalakeri deepti.kalakeri@linaro.org wrote:
On Tue, Aug 16, 2011 at 11:24 PM, James Westby james.westby@canonical.comwrote:
Thanks, this looks like great information. Deepti, does this work for you?
I know this should work, but I am still not successful with this.
Regards, Deepti.
Thanks,
James
On Tue, 16 Aug 2011 19:57:56 +0530, Venkatraman S venkat@linaro.org wrote:
- 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)
- 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.
On 16 August 2011 18:02, Deepti Kalakeri deepti.kalakeri@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@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Attachment: parametrized_build.png (image/png) Attachment: trigger_parametrized_build.png (image/png)
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev