Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Add repository gives an error


I am getting the error while adding repository.

Below is the error.

  • New access key is required but could not be added to Bitbucket Server.
  • com.atlassian.bamboo.executor.CancelException: /usr/local/git/bin/git could not be started: command [/usr/local/git/bin/git version] failed with code -1. Working directory was [/]. []


Can anyone help.

Thank You!!



1 answer

1 accepted

0 votes
Answer accepted

Hey @manoj reddy

It seems that you have a git capability issue there.
It could be that your git command is not available in that location (/usr/local/git/bin/git) of that the user running Bamboo is not able to access that path.

There is a document about that that I suggest you review: 

Please check the resolution steps shared in that link and try to share here the results you get. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

676 views 1 6
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