Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Build error with com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException:

Hi, I'm not sure what I did but I am now getting an error when trying to run any of my builds.  Previously it worked until I ran some command line with Git to try to commit files back into BitBucket.  Now all plans do not build.  They fail with 

System Error Details

Build OLR - OLR-Dev 47 : Errors getting changes for OLR-OLM-47 
(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.plugins.git.GitCommandException: command system.git.executable version failed with code -1. Working directory was [\]., stderr: )
javaerror.png
I'm attaching screenshots and text output.  Any idea as to why this would be failing?  I'm able to setup repositories with the correct credentials.

I think the only think I did that would have changed git is by setting

 

git config --global user.name "Your Name"
git config --global user.email "you@example.com"
I've since then removed these values but it's still not working.

 


Thanks in advance,
eyang

2 answers

1 accepted

4 votes
Answer accepted
rsperafico Atlassian Team May 08, 2015

Hello Elee,

Thank you for your question.

Could you please make sure you have set up Git as a capability to the Bamboo agent where you are attempting to run the build OLR-OLM, please:

  • "Bamboo administration >> Build resources >> Server Capabilities"
  • "Bamboo administration >> Build resources >> Agents >> <your agent> >> Capabilities" tab

Please, refer to Defining a new version control capability documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Hi Rafael,

I have similar issue getting while build running on bamboo.

Build BIOS - api0479-network-topology-api-v1 29 : Errors getting changes for BIOS-API0479-29 
(com.atlassian.bamboo.repository.RepositoryException : java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote git@git.okapi-np.in.telstra.com.au:BIOS/topology-service-okapi.git failed with code 128. Working directory was [.]., stderr: [ssh: connect to host git.okapi-np.in.telstra.com.au port 22: Connection refused, fatal: Theremote end hung up unexpectedly])

 

I have only access to link repositories under Bamboo Administrator. I am not able to see any other option under this.

Need your support to resolve the same.

 

Amod

Thanks for the quick response!  Yes you are correct.  I entered the path for git.exe and it's now building.

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

251 views 4 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