学习Jenkins遇到的那些坑
学习Jenkins遇到的那些坑
一、源码管理遇到:Failed to connect to repository:Error performing command:git.exe ls-remote-h …….. 。
如下图:
解决:在 系统管理-Global Tool Configuration 设置本地git.exe的路径。如下图:
二、配置Build时遇到:Jenkins needs to know where your Maven is installed 。如下图:
解决:在 Global Tool Configuration 中设置MAVEN_HOME,注意不要勾选“自动安装”才能填MAVEN_HOME。如下图:
未完待续…
还没有评论,来说两句吧...