GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes Jenkins doesn't work with SSH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Jenkins doesn Watch "Jenkins doesn New topic
Author

Jenkins doesn't work with SSH

Swerrgy Smith
Ranch Hand

Joined: Mar 26, 2010
Posts: 91
Hi all,

My Jenkins is not working with SSH (to check out the source code from GIT server) but there is no problem when I use HTTPS.
However, when I test "ssh -T git@github.com" : everything is OK, which means there is no problem with my private and public key.
My private key is in normal default location: C:/Users/MyUserName/.ssh

Can anyone help me to figure this out?

Thank you very much.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30596
    
154

What error do you get when "it doesn't work"? Did you check the logs?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Swerrgy Smith
Ranch Hand

Joined: Mar 26, 2010
Posts: 91
Jeanne Boyarsky wrote:What error do you get when "it doesn't work"? Did you check the logs?


Here is the log which is very short



I checked the workspace folder of Jenkins and realized that no code has been downloaded.
If I replace git@github:Username/RepositoryName by Https:// then everything is fine.

Thank you

 
GeeCON Prague 2014
 
subject: Jenkins doesn't work with SSH