学习Jenkins遇到的那些坑
一、源码管理遇到:Failed to connect to repository:Error performing command:git.exe ls-remote-h ........ 。
如下图:
解决:在 系统管理-Global Tool Configuration 设置本地git.exe的路径。如下图:
本文分享了在学习Jenkins过程中遇到的两个问题及其解决方案:一是源码管理时Git连接失败,通过在系统管理的Global Tool Configuration中配置本地Git路径解决;二是配置Build时Jenkins找不到Maven,通过在相同配置页面设置MAVEN_HOME并取消“自动安装”选项来解决。
一、源码管理遇到:Failed to connect to repository:Error performing command:git.exe ls-remote-h ........ 。
如下图:
解决:在 系统管理-Global Tool Configuration 设置本地git.exe的路径。如下图:
5243
2万+
320
8977

被折叠的 条评论
为什么被折叠?
