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
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

64 views 0 6
Read article

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