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文件位置)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM