I am using the correct job.
100%. dont know why the snippet generator is missing it
I am using your technique and the job does start but for some reason the
parallelism doesn't work
I want to run a job 5 times concurrently
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
On Monday, August 24, 2015 at 5:52:36 PM UTC+3, Ohad Basan wrote:
>
> Hello
>
> I am trying to use the workflow plugin to trigger a build with parameters
> I am using the snippet generator but it ignores the parameter and doesn't
> display it
> can anyone plz give me an example for how to use the workflow "build" step
> to trigger a parameterized job?
>
> thanks!
>
--
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/ffd6d783-ffd7-4fdb-8b0b-aa26ff93015a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.