Jenkins - passing variables between jobs?

Stefan Kendall picture Stefan Kendall · Mar 14, 2012 · Viewed 172.5k times · Source

I have two jobs in jenkins, both of which need the same parameter.

How can I run the first job with a parameter so that when it triggers the second job, the same parameter is used?

Answer

Łukasz Rżanek picture Łukasz Rżanek · Mar 14, 2012

You can use Parameterized Trigger Plugin which will let you pass parameters from one task to another.

You need also add this parameter you passed from upstream in downstream.