The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

WINDOWS EC2 - Build Fails " /usr/bin/git version failed"

Jordan Stremming
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2014

Anytime I attempt to build my project, it fails with this error: "java.lang.RuntimeException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git version failed with code -1."

The job is defined as Source Code Checkout from BitBucket then build with Maven 3. This builds with Elastic Bamboo on an Amazon EC2 - Windows

Here is the log: REDBLOCKS-REDBLOCK-JOB1-9.lo

Any ideas?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2014

Are you using the stock image? It looksl like the Git capability is misconfigured in your image configuration - make sure you set the correct path to Git.exe.

0 votes
Timothy
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 Champions.
February 22, 2014

Are you sure that you git is installed properly and that the user running the agent can access it?

TAGS
AUG Leaders

Atlassian Community Events