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

Add repository gives an error

manoj reddy December 19, 2019

Hello,

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!!

Regards,

Manoj

1 answer

1 accepted

0 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2019

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
TAGS
AUG Leaders

Atlassian Community Events