Jenkins无法访问Azure Ubuntu VM上的Git存储库
答
首先,务必使用最新版本的Git SCM插件,以避免issue like JENKINS-20879。
该问题还说明了如何注册受密码保护的私钥。在你的情况下,确保你没有密码(或您的密钥不会在詹金斯正确注册,as in this answer)
确保测试詹金斯
的ssh -Tv -i /path/to/id_rsa [email protected]
外