I have Bamboo configured to run builds every time new commits are detected in one of a few different repositories. For reasons that aren't very relevant for this question, we only want to run builds on the tip of master, so one of the first things we do is ensure our checkout point matches origin/master. If we have multiple people pushing code around the same time, we sometimes have builds that fail due to the checkout point not being origin/master. Currently these builds are being flagged as failures as they do not contain useful build artifacts, but they also don't typically contain any issues that need resolving as a new build will be triggered immediately after this one completes.
Is there a way to have a build register an error instead of a pass/fail so we can better identify when we have a real issue we need to deal with?
Benajmin, does it mean that it is not possible to build your project/run tests from any revision but tip of the master? Removing this restriction seems like a way to fix the problem of your false failures.
Answering your question Bamboo has only 2 states for finished build: SUCCESS or FAILURE. We're not planning on adding any other states.
Thanks. I'll see if we can adjust some things to remove the restrictions. This is as good an excuse as any to massage things into proper shape. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.