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

This widget could not be displayed.
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?

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

44 views 4 5
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