jenkins构建报错:找不到pom.xml文件 阳光宝贝

 构建报错:

ERROR: No such file C:\Program Files (x86)\Jenkins\workspace\maven_test2\pom.xml

Perhaps you need to specify the correct POM file path in the project configuration?
Finished: FAILURE

原因:未配置pom.xml文件位置导致报错

解决方法:pom.xml文件,添加的是绝对位置(配置时,需要设置具体项目pom.xml文件位置)

原文地址:https://www.cnblogs.com/pinpin/p/15667022.html