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

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

0 votes
Timothy Chin Community Champion Feb 22, 2014

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

0 votes

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

129 views 6 8
View post

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