The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi we are currently exploring bitbucket pipeline for our CI/CD process. one thing we want to achieve is to prevent merging when there is a failed build in the current Pull Request. right now i tried forcing the build to fail using php throw error. but when i click merge it pushes trough.
Hi Ken,
We have a feature in Bitbucket that can check if there are a required number of green pipeline on a PR before it can be merge (as well as some other options). https://confluence.atlassian.com/bitbucket/merge-checks-856691474.html
The merge check will display a warning on a PR that a merge check has not be satisfied (such as a failed pipeline).
If you're on the Bitbucket Premium Plan, then you can set this up to also prevent PRs from being merged until all merge checks are met. Which I believe is what you're asking for.
Thanks,
Phil
now i get it. if you're not a premium plan, the` merge checks` will only have a warning. but able to merge it. you have to be a premium plan for the prevention of merge.
thanks man.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bump, I'm trying to find out same answer, we're using bitbucket server 6. 10. 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Miguel A. Alonso I've discovered that the "Minimum Successful Builds" Merge Check is indeed available on Bitbucket Server. I'm using 6.10.1 and it works, however I'm finding in BBS these Merge Checks are only configurable at the Project or repo level. I cannot figure out how to apply them only to certain branches (namely, develop).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the Bitbucket Data Center version v7.6.5 support allow this to prevent a merge? We need this feature!
This feature needs to be in the Bitbucket Data Center version if it is not.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.