Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Currently, Bitbucket has a branch restriction that states the following:
Minimum number of successful builds for the last commit with no failed builds and no in progress builds
This is the only build-related branch restriction at this time.
The requirement here is to add a branch restriction that allows failed builds on the latest commit of a given PR, however, it only does so if the latest build in that PR successful.
Example description for this branch restriction:
Check that the latest build for the last commit is successful, ignoring failed builds, and no in progress builds.
This will allow users to continue with the merge without needing to create a new commit and run additional builds on a newer commit to have a mergeable PR.