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

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

如下图:

\

 

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

 

\

 

\