Bamboo github configuration using ssh

I've tried many different configurations with the goal of configuring a GitHub account to use ssh authentication in Bamboo version 5.5.1. For the repository host I'm using "Git" instead of "GitHub", since the GitHub option requires a username and password.

For the repository URL this seems correct: ssh://git@github.com:path/to/project.git

The Authentication Type is set to "SSH private key" and I uploaded the private key to use. The build fails though, with the error "(java.lang.IllegalArgumentException : Unknown RepositoryDefinition 393240)". I've confirmed on the host that cloning the repo over ssh works, and I'm out of ideas on how to correctly configure this repository URL after doing many variations of the patterns at https://confluence.atlassian.com/display/BAMBOO/Git

Any help is much appreciated!

1 answer

1 accepted

Hi All,

I believe the github SSH address looks something like this:

git@github.com:toolbelt/test.git

Could you edit your URL to remove the "ssh://" and attempt to process the build again? Please let me know the resuls and we'll go from there.

Thanks!

Turner

Yes that was the pattern I started with and it wasn't working initially. I changed back to it last week and for whatever reason it has started working today, so I can confirm it works for GitHub. Thank you for the feedback.

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,782 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