1. 程式人生 > >【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

strong src command for error file 管理 conf blank

jenkins使用git源碼管理報錯:Failed to connect to repository:Error performing command:git.exe ls-remote-h

本機需要安裝git,設置好路徑之後,重啟jenkins

如下圖:

技術分享圖片

解決:在 系統管理-Global Tool Configuration 設置本地git.exe的路徑。如下圖:

技術分享圖片

技術分享圖片

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