Trying to understand how to use Pull Requests builds with Bitbucket pull requests

So I assumed it would first merge the pull request, then build & test it.

But apparently, it doesn't do any merging making it literally useless so maybe I am missing something.

The branch has already been built and the commit was tested, so what's the role of Pull Request build if not build a merged pull request in advance and test, whether or not the merged artifacts work? And then merge knowingly that merge is going to be safe.

I've been long time interested in this topic, I've added a bounty here too:

Would appreciate some feedback and suggested approach. As far as I can see either I am missing something big, or I don't understand whats the idea behind Pull request builds for Bitbucket Cloud in TC.

Please sign in to leave a comment.