Can't authenticate with GitHub

2019-09-09 06:20发布

问题:

I'm trying to get my Jenkins server to authenticate with GitHub so I can build when changes are pushed. I've tried this https://help.github.com/articles/generating-ssh-keys a dozen times with no luck. Every time I try to fetch from Jenkins it times out after 10 minutes.

回答1:

Are you generating your ssh key from the Jenkins server? If so, are you able to git clone or pull manually from your Jenkins server?

EDIT:

Check out this link and see if this helps any:

EDIT 2:

If you're using windows and msysgit take a look at this SO answer