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]> 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].
> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/D780D292-6C67-4D88-BD9E-5E55CB34EB69%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to