I am trying to start Jenkins using the GitHub repository (using the Jenkins Git plugin). There are several Git submodules in the repository, so I'm not sure I want to try a few deployment commands.
My personal GitHub account is a co-author of each of the projects that I want to use with Jenkins, so I created an SSH key in /var/lib/jenkins/.ssh and added it to my personal GitHub account.
However, when I try to add the repository URL to my Jenkins project configuration, I get:
Failed to connect to repository : Command "git ls-remote -h git@github.com:***/***.git HEAD" returned status code 128: stdout: stderr: Host key verification failed. fatal: The remote end hung up unexpectedly
Similarly, when I plan to build, I get:
stderr: Host key verification failed. fatal: The remote end hung up unexpectedly
I also tried setting up the SSH configuration file as described here , but to no avail.
Can anyone shed some light? Thanks
EDIT
I have to add that I am running CentOS 5.8
git ssh continuous-integration jenkins
James Mar 09 '13 at 19:11 2013-03-09 19:11
source share