Agent hangs when using GIT Capability on agent to "C:\Program Files (x86)\Git\bin\git.exe"

I'm hosting Bamboo on Windows. I want to get a project from GIT and build.

Now the get source step works OK with the default GIT. :-)

However I need to use the "GIT capability" because I need submodule support. :-o

But when I add the GIT capability to the Agent to point to "C:\Program Files (x86)\Git\bin\git.exe" which is the msysgit git then the job will run indefinitely. It hangs at the point of trying to get the source.


Infact the only way to get the agent back so I can run another job is to restart the service.

:-( :-(

I am able to use git locally and clone the repo on the command line from the server hosting Bamboo.




Git installed from:

The article that suggested I use a capability:

2 answers

1 accepted

There is currently bug report open that sounds like the problem you are experiencing. I've also contacted our support engineers who will be in touch with you to try to get to the bottom of this problem.

Thanks James - tell them to feel free to call me. I also suspect that it could be the "proxy-SSH fingerprint host key checking" as this is a step that on the command line I had to say YES to (although only once).

Try changing the protocol that you use for git - http, ssh.

Thanks for the suggestion. Http is not available. I am using ssh at the moment. How would this help anyway. I am able to connect to ssh from the box within the GIT BASH tool, so why shouldn't Bamboo be able to do the same using the same toolset?

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
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,075 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot