Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

PR Merge Rules for Failed Builds are Broken

John Roach May 9, 2022

We are running Azure Dev Ops and Snyk, which are linked to Bitbucket and appear correctly on our PRs.  But I've run into a problem with the build rules.

The rules are '1+ build passed', and 'No failed builds'.  I cannot seem to find where those rules are configured, but they are fine for what we want to do.  My problem is that I have a Green Snyk build, and had a failed Azure Dev Ops build.  When I started a new build on Azure Dev Ops (there was a network error, so I re-ran the failed jobs), the build shows in the PR as 'In Progress'...but it is being treated as a Success and the 'This Pull Request is Ready to Merge' button has appeared, along with all Green ticks in the Checks Passed section.

I feel like the 'In Progress' should be treated like a Failure, until it is complete yeah?  What are other people's thoughts?



Log in or Sign up to comment
AUG Leaders

Atlassian Community Events