Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63120

Builds not being throttled when using declarative pipeline and Docker swarm


      We are running Jenkins with a master executor and using declarative Jenkins pipeline syntax. We have our project set up as a multi-branch pipeline. Builds are initiated via a webhook from GitHub pull requests. The master executor starts the stage and then delegates to a docker container that is brought up in a docker swarm. When using throttle with 2 maximum total concurrent builds and 1 maximum concurrent build per node, we are able to run more than 2 concurrent builds. Please see the attached images for our configuration and our pipeline



            Unassigned Unassigned
            charlesmichael Charles Michael
            5 Vote for this issue
            5 Start watching this issue