Bamboo: Error checking out Git

I get this error when I want to checkout using git 1.9.4

com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\git.exe' version failed with code -1. Working directory was [\]., stderr: )

What it is going wrong? Thank you!

2 answers

Hello Mathias,

  1. Can you please check if you can successfully check out from the command line with the same user that is running the Bamboo process?
  2. If running Bamboo as a Windows service, please make sure you are running the service as a local admin account: Running Bamboo Service as a Local Admin
  3. Did you add a path to your Git executable under server capabilities in Bamboo: Defining a new version control capability

    Hope this helps!
    If the issue persists, please open a support ticket and attach your log files from under <bamboo-home>/logs directory.


Any answer to the original post? I am also running into issue like this.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,823 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