AFAICT your syntax is wrong. From the Wiki:

parallel (
// job 1, 2 and 3 will be scheduled in parallel.
    { build("job1") },
    { build("job2") },
    { build("job3") }
)

Note the extra braces. That's probably why it's not actually parallel.

The build flow itself is "lightweight", which means it uses a dynamically 
created executor. There should be no number next to the flow in the executors 
list. If there is, that's a bug (it happens to me when I set a label expression 
while the flow is in the queue, waiting for a matching executor).

On 01.08.2013, at 16:17, Bob Bick <[email protected]> wrote:

> Hi,
>  
> We have a Build Flow that runs two jobs in parallel.
>  
> DSLè
>  
>   parallel {
>      build('job1’)
>      build('job2’)
>   }
>  
> When I run the build flow, it always runs the jobs on the same node. Since 
> each node has a max executors equal to 2, job1 and job2 execute serially 
> (i.e. the Build Flow job and one of the sub-jobs run at the same time).
>  
> Since we have idle nodes, I was expecting job1 and job2 to run on different 
> nodes.
>  
> Any ideas why these two jobs would run on the same node? Maybe I am missing 
> something here?
>  
> Thanks,
> Bob
> 
> *** *** ***
> This message contains information which may be confidential and privileged. 
> Unless you are the addressee (or authorized to receive for the addressee), 
> you may not use, copy or disclose to anyone the message or any information 
> contained in the message. If you have received the message in error,  please 
> advise the sender by reply e-mail and delete the message.
> 
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to