You could add a parameter that the job does not use just so that the set of parameters is different for each.
From: [email protected] [mailto:[email protected]] On Behalf Of Ohad Basan Sent: Tuesday, August 25, 2015 4:53 AM To: Jenkins Users Cc: [email protected] Subject: Re: running jobs in parallel using workflow plugin this is problematic for me. I need to trigger the same job 5 times with the same parameter value? it's not possible in any way? if not I will hack it at the job level... On Tuesday, August 25, 2015 at 11:32:49 AM UTC+3, Daniel Beck wrote: Jenkins will collapse multiple queue items with identical parameters into one. Make sure to pass different parameters. On 25.08.2015, at 10:21, Ohad Basan <[email protected]<javascript:>> wrote: > Hello > > I am trying to use workflow plugin to run a specific job 5 times concurrently > and then wait for all of the jobs to finish. > this is the groovy snippet. > > def concurrent=[:] > for (int i = 0; i < 6; i++) { > concurrent["concurrent${i}"] = { > build job: 'test_job', parameters: [[$class: 'StringParameterValue', > name:'queue', value: > 'automation_prod.q']] > } > } > parallel concurrent > > the result is the job running only once. > what am I doing wrong? > > thanks > > Ohad > > > -- > 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]<javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/cce83e26-4dbc-462a-b640-5e63cf91c0a8%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e5b1b119-f6d2-4cf8-85e1-9cac97cf9abb%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/e5b1b119-f6d2-4cf8-85e1-9cac97cf9abb%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8661BEB%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
