I have an issue where I'd like to queue up different builds for a specific branch. I don't want builds to run at the same time; one build could take about 15 mins to complete and there may be a number of commits that occur for a specific branch during that time. ... We're seeing if we can create a script that will check for the presence of an item within our application, and run the maven command once the item is no longer present. However, we're not sure if this method will work due to the time to live for a docker container. How long will a docker container stay up and running?
Hi Daniel,
Sounds like you would like a way to limit concurrency like described in https://bitbucket.org/site/master/issues/12821/sequential-pipelines-disable
Hi Daniel,
The docker container runs for 2 hours and is then stopped and the build will fail. We are looking into these sorts of parallel build restrictions. Please add an issue to https://bitbucket.org/site/master/ detailing what you want from this feature. That way when we come to implementing this we can take your feedback into account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.