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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

56 views 3 2
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