Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Corrected build failure but still not able to approve

mboehm
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!
March 26, 2025

We've got a successful build check that was triggering a failure note as expected. It was fixed in a later commit which triggered a new build.

We're still showing the failed build but it's followed up by multiple successful build and because there is an (ultimately unresolvable without the commit it won't ever contain) failed build for the PR it won't approve the PR.

The note on the Successful Build check is insanity. "If there are more builds than specified above, they are all required to be successful in order to merge the pull request."

This is a great setting but utterly demoralizing to someone who's project fails and they resolve. They can _never_ resolve the PR short of deleting and recreating the PR.

1 answer

0 votes
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2025

Hi @mboehm

Depending how the CI integration is setup it will update the build status instead of creating a new one, based on a build key. Also checking for no failed builds is useful when you have other tools that report back, for instance, you have your regular build plus Snyk, and it should not allow merges if one of them are failing.

Having said that, Flowie, a Bitbucket app we provided, has more options to configure checks, including for build checks, if you just care about the last build status, like in your scenario for instance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events