When you configure a node you provide a "# of executors". I would think that 
each node would run up to that number. Although I seem to remember something 
that Jenkins will not schedule what it sees as exactly the same job. In your 
case, since each parameter is different, you should not be hitting this.

You also must already have some number of nodes with the same label or 100 jobs 
would not run in parallel. 

-----Original Message-----
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of kptishere
Sent: Sunday, November 02, 2014 8:52 PM
To: jenkinsci-users@googlegroups.com
Subject: Configure concurrent builds per node ?

Hi,
I'm using BuildFlow plugin and I've setup one parent job which will call 
another build job.
Here's the flow DSL for the parent job:
        childJobName = "BFChildJob"
        def myClosures = []
        (0..100).each { num ->  
            def project = "Project${num}"
            def myClosure = { 
                              build(childJobName,
                                    project_name: project
                                 )
                            }
            myClosures.add( myClosure );
        }
        parallel(myClosures);

The child job is called "BFChildJob" and in there I run one shell script 
passing that project_name param.  And I've enabled on "Execute concurrent 
builds if necessary"

The problem I have is the the parallel() seems to run only 1 or 2 concurrent 
builds on each node.
Is there a way to configure so that it will run 8 concurrent builds per node?

Thanks in advance for you help!




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Configure-concurrent-builds-per-node-tp4726068.html
Sent from the Jenkins users mailing list archive at Nabble.com.

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

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

Reply via email to