【jenkins git】Failed to connect to repository:Error performing command:git.exe ls-remote-h

jenkins使用git源码管理报错:Failed to connect to repository:Error performing command:git.exe ls-remote-h

本机需要安装git,设置好路径之后,重启jenkins

如下图:

技术分享图片

 

解决:在 系统管理-Global Tool Configuration 设置本地git.exe的路径。如下图:

 

技术分享图片

 

技术分享图片

文章来自:http://www.cnblogs.com/liuyl-2017/p/8021910.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3