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

How to integrate Minimum successful builds with Jenkins

Barak Nisim Sonino November 17, 2020

Hello,

 

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
Barak Nisim Sonino July 19, 2021

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
TAGS
AUG Leaders

Atlassian Community Events