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

mcapodici May 16, 2012

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

1 vote
Answer accepted
James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2012

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.

mcapodici May 16, 2012

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

0 votes
Pankaj Jangid
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2012

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

mcapodici May 16, 2012

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
TAGS
AUG Leaders

Atlassian Community Events