1. 程式人生 > >jenkins構建時提示找不到pom.xml

jenkins構建時提示找不到pom.xml

錯誤提示:

ERROR: No such file C:\Windows\system32\config\systemprofile\.jenkins\workspace\netDesk\pom.xml
Perhaps you need to specify the correct POM file path in the project configuration?
Finished: FAILURE
解決:修改 構建專案下->配置->構建環境->RootPOM即可,該錯誤主要是配置路徑有問題,修改pom檔案路徑即可。如你的倉庫下面存放著一個NetDesk專案,則需要把NetDesk目錄也寫上