Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jenkins doesn't work with SSH

 
Swerrgy Smith
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What error do you get when "it doesn't work"? Did you check the logs?
 
Swerrgy Smith
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic