我從Jenkins創建工作時遇到了以下錯誤。如何禁用Jenkins中的證書驗證?Jenkins Git集成 - 如何禁用SSL證書驗證
從Git Bash我可以使用git config --global http.sslVerify false
命令來禁用它,但不知道如何使用它從詹金斯。
錯誤:
Failed to connect to repository : Command "C:\Program Files (x86)\Git\cmd\git.exe ls-remote -h url ofmy repository.git HEAD" returned status code 128:
stdout:
stderr: fatal: unable to access 'url of my git/': SSL certificate problem: self signed certificate in certificate chain
感謝lot.Adding自簽名證書到證書存儲解決這一問題。這非常有幫助 –