Jenkins: Failed to connect to repository

后端 未结 13 1684
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-03 04:16

I\'m trying to connect jenkins on a github repo.

When I specify the Repo URL jenkins return the following error message:

Failed to connect to

13条回答
  •  时光说笑
    2020-12-03 05:10

    Check with below settings. That always work for me.

    Jenkins Configuration :

    1) Check whether git executable is appropriately specified

    2) Provide SSH repository link git@blahblah

    3) Under credentials >> Select Username and Authentication key (go to your server, Generate SSH keys ssh-keygen... Copy keys to JENKINS_HOME/,ssh) You should be able to connect to your GIT repository from Jenkins

提交回复
热议问题