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

PullRequest Jenkins Build Check

We were using Stash Pullrequest Builder for our Jenkins pipelines, to perform a shallow merge and validate that the code would compile successfully with a merge.  This was working until we upgraded from Bitbucket Data Center 6.9.x to 7.6.  

I see that there was a change for Bitbucket beginning at version 7.0 and believe this is why the Stash Pullrequest Builder began failing post upgrade of Bitbucket Data Center.  The documentation states:

  • Bitbucket Server 7.0 removed support for 3-way diffs for pull requests, and with that change refs/pull-requests/*/merge is no longer created or maintained. As pull requests that have merge refs are updated, the merge ref will be deleted (whether the pull request merges without conflicts or not). Since there is no longer a merge ref that CI systems can build, there are no build statuses to detect.

Is there another way to perform a test build of a merge, before allowing the merge to complete, via Jenkins, that others have used with Server/Data Center 7.x?

0 answers

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,740 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