Jenkins: Failed to connect to repository

后端 未结 13 1704
爱一瞬间的悲伤
爱一瞬间的悲伤 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:12

    Make sure that the RSA host key and the IP of the bitbucket server is added to the 'known hosts' file. The contents should look like

    bitbucket.org,xx.xx.xx.xx ssh-rsa host_key
    

    Remember to change ownership to Jenkins for all the files in /var/lib/jenkins/.ssh/

提交回复
热议问题