bamboo automatic branch merge with stash

I want to try "automatic branch merge" feature of bamboo, but when I tried, I can see following error.

>Merging is disabled for this plan branch as the default repository 'xxxx' is of type 'Stash', which does not support automatic merging.

So, stash is not supported for this feature? (Although stash itself might have auto merge feature of its own)??

Just curious, then which type of source repositories can be used with bamboo's automatic branch merge feature?

 

1 answer

1 vote

Hello Takashi,

Thank you for your question.

It seems Bamboo is using JGit as capability instead of Git. Please, go to "Bamboo administration >> Build resources >> Server capabilities" and make sure you have added Git as a Capability as per following:

image2015-8-21 19:36:0.png

If no capability is provided, Bamboo will use its built-in Git (JGit) implementation. Note that the built-in Git implementation does not support symbolic links, submodules, automatic branch detection or automatic mergingPlease, refer to Defining a new version control capability documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Thank you for your suggestion. Yes, I noticed before that built-in git support did not support submodules, but at that time I did not go further (just registered submodules as separate repositories in bamboo plan setting.) Before I go to our IT and ask for the change, I want to know if there is demerits using native git instead of built-in git. I understand that on bamboo server and agents we have to install native git command, but other than that any issues we have to be prepared? I just do not want to break current behavior/workflow by making this change.

Hello Takashi, please, do ahead and add Git as capability in Bamboo.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,824 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you