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.

    Thanks!
    Best,
    Sepideh

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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

497 views 0 9
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