I have two different product branches (master & integration) that, as part of their deploy step, perform a deployment to Amazon ElasticBeanstalk. But the deployment fails when another deployment is in-progress.
I’d like the ability to prevent multiple concurrent builds of the same branch, in the same project. The builds would sit “queued” until the running build on that branch completes. I could do this already by having my deploy commands detect if a deploy is already in-progress, but, then I’d be using up one of my containers just to sit around and do nothing.