How to resolve gatekeeper merge conflicts

Hello, I've faced the merge conflict issue on gatekeeper execution.

How should I resolve it?

  1. I found the folder with the source d:\Program Files\bamboo-home\xml-data\build-dir\GH3TIER-GH319-JOB1\NorthWind.console\Service.cs
  2. Edit the conflict
  3. issued git add . --all
  4. git commit -m "fixed merge conflict"
  5. git push
    git push command pushes the changes to some local git repo
    To file://D:\Program Files\bamboo-home\xml-data\build-dir\_git-repositories-cache\3cb59ff48a74be5951231f36de6d553f0eb914e3
    e96e682..ab38a21 Dev -> Dev

    How can I apply the changes to my github repo after the resolving the conflict?

merge_conflict.png

4 answers

i think you should not resolve it on Bamboo. This is there to notify users their branch would not merge.

I would leave it up to the developers to fix that, e.g. by merging the gatekeeper (master?) branch into theirs and fix the merge conflict and push to their branch.
Bamboo will have to discard the broken build and the next merge on gatekeeper should succeed (must be a fast-forward now).

Mike, thank you. you really opened my eyes!

You definitely should not manually make changes to Bamboo's clone of your git repository.. Mike Friedrich explained the correct process - have one of the developers who worked on the conflicting file merge the branch manually, then commit and push. Bamboo will pull the change and build it.

Thank you Richard. That's the approach I was looking for.

Happy to help! If you have a spare moment you should accept Mike's answer.

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