I must trigger the job 5 times with the same parameter.
On Tuesday, August 25, 2015 at 11:21:16 AM UTC+3, Ohad Basan 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/1c90f143-73f7-41f4-9e82-2db57ce9d615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.