How to auto-Merge Bitbucket branches from Bamboo?

1.6k Views Asked by At

We are working on a POC with Bamboo and Bitbucket to do an auto-merge between the Master and Feature branches.

The task list is as follows:

  • Commit code in trunk
  • Get a repository polled bamboo build for the Trunk
  • Code gets Auto-merge in feature branch
  • Get a repository polled bamboo build for the Feature

I am able to do the first two steps but the next two are coming through. What can be the configuration issue in this plan?

Thanks

1

There are 1 best solutions below

0
On

You can establish automerging from your Bamboo plan.

Go to Plan Configuration -> Merging -> Branch merging enabled and you have 2 options:

  • Branch updater
  • Gatekeeper

For your user case you can use Branch updater, selecting the merged from the branch that you want and pushing on the branch that you want.