PR Merge Rules for Failed Builds are Broken

John Roach
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events