学习Jenkins遇到的那些坑

来源:互联网 发布:价值投资数据类app 编辑:程序博客网 时间:2024/05/22 11:59

学习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。如下图:





未完待续...



0 0
原创粉丝点击