Hello

I am trying to use build flow 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/832bd65f-b255-4bc9-b398-430146597e63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to