jenkins/hudson can't connect to github repo

前端 未结 6 1813
不知归路
不知归路 2020-12-30 00:47

I am on Ec2 with the base amazon ami linux- I have installed jenkins but when I go to pull the repo from github I am given the following error:

Building in w         


        
6条回答
  •  情歌与酒
    2020-12-30 00:56

    He following helped me:

    Login under Jenkins

    sudo su jenkins
    

    Copy your github key to Jenkins .ssh folder

    cp ~/.ssh/id_rsa_github* /var/lib/jenkins/.ssh/
    

    Raname the keys

    mv id_rsa_github id_rsa
    mv id_rsa_github.pub id_rsa.pub
    

提交回复
热议问题