Reputation: 85
Is there any Jenkins plugin that helps with the following:
<XXX*
, is present in SVN folder <GoRoCo>
<GoRoCo>_<XXX>
Jenkins job is called
?Example:
In job "TEST"
, I specify parameters like directory name (A, B , C) and folder name (G1R2) then job "TEST"
should trigger the jobs "G1R2_A"
, "G1R2_B"
and "G1R2_C"
Upvotes: 4
Views: 11436
Reputation: 5842
Use some scripts to create property file with the required parameters for each of the modified project and place them in the workspace directory.
Later you can use parameterised plugin to trigger downstream project like this.
Note: you might also have to delete those properties after triggering the down stream projects.
Upvotes: 0
Reputation: 1258
With the help this plugin you can run as many jobs with or without parameter.
Upvotes: 2
Reputation: 16615
Use Parameterized Trigger Plugin. When specifying jobs to call in the plugin you can use tokens, as in JOB_${PARAM1}_${PARAM2}
.
Upvotes: 4
Reputation: 4340
Take a look at that plugin, i think it does exactly what you are looking for:
https://wiki.jenkins-ci.org/display/JENKINS/Files+Found+Trigger
Upvotes: 2