So I am doing testing on our current system.
We use flows now.
So I have a flow and a pipeline doing the same task:

   - 100 executors
   - 2000 builds
   - build - echo 'Hello World'

flow time = 2 min 33 sec
pipeline time = 5 min 11 sec

After all the echos are complete the pipeline seems to hang before 
completing

pipeline script

#!groovy import hudson.model.* stage('many_jobs') { parallel 
(get_many_jobs(2000)) } def get_many_jobs(num_builds) { // The map we'll 
store the parallel steps in before executing them. def stepsForParallel = 
[:] for (int i = 0; i < num_builds; i++) { def sub_run_config = 'job_' + i 
stepsForParallel[sub_run_config] = { build job: 'sq_echo', parameters: 
[string(name: 'job_name', value: sub_run_config)] } } return 
stepsForParallel } 

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/1d862aad-b1fa-4b29-b09d-212cd528d810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to