Reputation: 1248
I didn't find any solution to do this. Is there any plugins available to trigger upstream Jobs with parameters?
Upvotes: 0
Views: 1235
Reputation: 528
You can also use [Build Flow Plugin][1]
[1]: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin ""
Upvotes: 0
Reputation: 13971
Parameterized trigger plugin ,lets you trigger new builds when your build has completed, with various ways of specifying parameters for the new build. You can add multiple configurations: each has a list of projects to trigger, a condition for when to trigger them (based on the result of the current build), and a parameters section.
There is also a Parameterized Remote Trigger Plugin in case you want to trigger a build on a different/remote Jenkins Master.
The parameters section can contain a combination of one or more of the following:
a set of predefined properties
properties from a properties file read from the workspace of the triggering build
the parameters of the current build
Subversion revision: makes sure the triggered projects are built with the same revision(s) of the triggering build. You still have to make sure those projects are actually configured to checkout the right Subversion URLs.
The parameter section is itself pluggable, and other plugins can contribute other sources of parameters.
This triggering mechanism can be used both as a post-build step or as a build step, in which case you can also block for the completion of the triggered builds. This lets you create a "function call" like semantics.
Upvotes: 1