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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.