Git Executable setup

So I was able to use the built in GitHub configuration that is provided by Bamboo to fetch my repos and complete builds. I am now looking to expand my use of Bamboo do to the Branching and work with submodules in my project. I added Git to my build server (linux) and added that configuration to my server capabilities (/usr/bin/git). When I go back to run my basic working plans now, I am getting the following:

com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://<username>:********<project>.git failed with code 139. Working directory was [.]., stderr: [])

Am I missing a setup somewhere that I need to do on the build server with Git?

2 answers

1 accepted

So what it turned out to be was our own configuration. I needed to upgrade the GIT on my server to 1.8 and build it correctly with curl options. Once we did a proper install with all the settings, we were able to get past this issue.

0 vote

That's weird - does it work if you execute that command manually?

No it does not:

-bash: !<project>.git: event not found

So I guess that is my root problem. Ideas? does a git ls-remote https://<username>:********<repo>/<project>.git work for anyone else on linux?

Could it be that you're having '!' chars in your password and the Bamboo doesn't properly escape them?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,788 views 0 6
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