Assumptions
- Admin access to FishEye.
- Admin access to a GitHub repository.
- Git client and SSH client installed on the FishEye server and available in the PATH.
Instructions
- Login to FishEye, go to Administration -> Repositories and click "Add Existing...".
- Choose "Git" from the dropdown, give it a name/description and click "Next".
- Grab the SSH url from your repository in GitHub and enter it into the "Repository Location".
- Will look something like "git@github.com:ORGANIZATION/REPONAME.git"
- Under "Authentication Style", choose "Generate key pair for ssh" and click "Generate".
- Copy the resulting block of text into your clipboard.
- Go to your repository in GitHub, go to "Admin" and choose the "Deploy Keys" tab.
- Click "Add another deploy key", name it "FishEye", paste the block of text into the "Key" field and click "Add Key".
- Back in FishEye, click "Test Connection" and if all is well, click "Next" and then click "Add".
You will very quickly start seeing that the GitHub repository is being indexed and when done, you'll be off to the races!


2 comments:
I have been experiencing an error when trying to "Test Connection"
Error testing connection.
Error talking to repository:
'"null"' is not recognized as an internal or external command,
operable program or batch file.
fatal: The remote end hung up unexpectedly
Connection failed.
Any advice
Have you tried connecting to the repository from the command line on your FishEye box? I'd start there - verify that you can do a git clone from the command line - my guess is that there is a problem there.
Post a Comment