Jenkins fails with github “git clone”

后端 未结 5 748
猫巷女王i
猫巷女王i 2020-12-15 18:17

When I do build in Jenkins, it fails with this error. Any idea?

ERROR: Error cloning remote repo \'origin\' : Could not clone git@github.com:test/test.git
ER         


        
5条回答
  •  没有蜡笔的小新
    2020-12-15 18:39

    You need to copy your private ssh key into the .ssh folder beneath Jenkins. Something like (on Ubuntu Lucid): /var/lib/jenkins/.ssh

提交回复
热议问题