0

I am trying to connect jenkins (installed on my windows os) to my github repository(which has a maven project). I have configured the maven, jdk and installed the github plugins; however, I am getting an error as I provide the git repository url:

Failed to connect to repository : Error performing command:  -c core.askpass=true ls-remote -h git@github.com:saurabhxkapoor/seleniumcookbook.git HEAD

Though, I have already set up a user in jenkins, I am unable to figure out what could be the issue. As such, the build fails.

Saurabh
  • 930
  • 2
  • 17
  • 39
  • Would http://stackoverflow.com/q/12681308/6309 help (similar to http://stackoverflow.com/a/21592263/6309)? Or https://github.com/wakaleo/jenkins-the-definitive-guide-book/issues/31#issuecomment-63366036? – VonC Jan 05 '15 at 07:33
  • thanks @VonC .. http://stackoverflow.com/a/21592263/6309 helped me.. – Saurabh Jan 05 '15 at 08:15
  • Possible duplicate of [Unable to set up Git pull in Jenkins](http://stackoverflow.com/questions/21565569/unable-to-set-up-git-pull-in-jenkins) – Paul Sweatte Feb 01 '17 at 16:32

0 Answers0