首页 > 代码库 > 解决Jenkins配置时遇到的Jenkins needs to know where your Maven is installed问题

解决Jenkins配置时遇到的Jenkins needs to know where your Maven is installed问题

在配置Jenkins某个项目时,本地Maven安装好了,可是仍然提示Jenkins needs to know where your Maven is installed. 如下图所示:

 

技术分享

 

解决办法:返回面板-系统管理-系统设置-Maven-Maven安装,设置MAVEN_HOME,注意不要勾选“自动安装”。

技术分享

 

解决Jenkins配置时遇到的Jenkins needs to know where your Maven is installed问题