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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to integrate Minimum successful builds with Jenkins



I'm trying to integrate our Bitbucket server with Jenkins.

I would like to run a build on every open new pull request.

My expected result is to allowing the Merge button when build finish success.

Currently, the Build is being triggered by a webhook, but when the build is done, still the Merge is disable.

in the configuration we set the "Merge checks" with "Minimum successful builds" set to 1.

We are using Bitbucket server version 6.0.1

What am I doing wrong?

1 answer

1 accepted

0 votes
Answer accepted

After discussing with Bitbucket's support - to allow the merge, all builds should be passed.

if there is a failure - we need to clean it by adding new code to the PR - decline and ropen the PR - this will trigger a new build - if that is pass succesffully, then Merge button will be enabled.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,749 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you