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 Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

56 views 3 2
Join discussion

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