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

Bamboo github configuration using ssh

Me Me July 30, 2014

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

0 votes
Answer accepted
cbenard1
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2014

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

Me Me August 4, 2014

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

Atlassian Community Events