(replies inline) On Thu, 21 Jan 2016, Patrick Bruneton wrote:
> Hi all, > > I tried a very simple workflow with a stage running a job, and concurrency > set to 2: > > node('windows') { > stage name: 'Build', concurrency: 2 > build 'build' > } > > > I have allowed the job 'build' to have multiple runs in parallel (works > fine if I trigger the jobs manually multiple times). > However, if I trigger my workflow multiple times, executions of the job > 'build' are serialized where I expect to have two runs in parallel. First things first, I'm assuming there are at least two nodes in the cluster with the 'windows' label right? That said, it's probably better to put the stage *ahead* of the node allocation, that way you won't end up allocating 10 nodes but only executing the build two at a time. Past that, I'm not sure what might not be working > Did I miss something? Or is it a know issue? > > Thanks for your help, > Patrick > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/477f5cf8-3b54-4ddc-8ff4-4630f2825ff4%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. - R. Tyler Croy ------------------------------------------------------ Code: <https://github.com/rtyler> Chatter: <https://twitter.com/agentdero> % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F ------------------------------------------------------ -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20160121175531.GV2753%40blackberry.coupleofllamas.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature