Hi,

I'm trying to use build flow 
plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin to run 
the same job multiple times in parallel but with different parameters that 
I produce from a given String parameter in the job

I was trying something like this:

parallel (
{
  params["BACKEND_SERVER"].split(",").each()
  { build( 
"GENERIC_DEPLOYMENT",BACKEND_BUILD_TAG:params["BACKEND_BUILD_TAG"],BACKEND_SERVER:it)
 
}
}
)

The console for the last run I tried shows this:

Started by user pelaezr <http://buildbox.lvs.co.uk:8888/user/pelaezr>
[EnvInject] - Loading node environment variables.
Building on master in workspace /Users/jenkins/.jenkins/jobs/MULTI/workspace
parallel {
    Schedule job GENERIC_DEPLOYMENT 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/>
    Build GENERIC_DEPLOYMENT #19 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/19/> started
    GENERIC_DEPLOYMENT #19 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/19/> completed 
    Schedule job GENERIC_DEPLOYMENT 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/>
    Build GENERIC_DEPLOYMENT #20 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/20/> started
    GENERIC_DEPLOYMENT #20 
<http://buildbox.lvs.co.uk:8888/job/GENERIC_DEPLOYMENT/20/> completed 
}
Notifying upstream projects of job completion
Finished: SUCCESS


But it doesn't seem to have run in parallel since it took 11 minutes and 
normally the GENERIC_DEPLOYMENT job takes about 5. This GENERIC_DEPLOYMENT 
should allow concurrent builds since it has ticked the check box with "Execute 
concurrent builds if necessary"


Jenkins is configured at the moment with a max number of executors of 4 and no 
other jobs were running


What am I missing? 


Thanks and regards

Rodrigo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to