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.

:-|

----

Notes:

Git installed from: http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.10-preview20120409.exe&can=2&q=full+installer+official+git

The article that suggested I use a capability: http://blogs.atlassian.com/2011/12/bamboo-34-git-submodules-ec2-windows/

2 answers

1 accepted

This widget could not be displayed.

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).

This widget could not be displayed.

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 Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
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