It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo: Error checking out Git

codelab expert Sep 03, 2014

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

0 votes
Sepideh Setayeshfar Sep 10, 2014

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
0 votes
Ryan Goodwin Jan 26, 2015

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

56 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you