jenkins/hudson can't connect to github repo

前端 未结 6 1810
不知归路
不知归路 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 01:18

    1) Switch User into your jenkins account

    su jenkins
    

    2) Create the key without a passphrase

    3) ssh git@github.com

    That worked perfectly for me.

    You may need to create a password for the jenkins account, if so use sudo passwd jenkins

提交回复
热议问题