1. 程式人生 > >jenkins報錯總結

jenkins報錯總結

報錯:沒有找到專案的根pom檔案
這裡寫圖片描述
解決辦法,根據jenkins的客戶端列印的資訊,找到專案位置
sys_xc_web是專案的根路徑
sys_xc_web/pom.xml

報錯: 配置ant的時候報錯,每次配置ant,maven,multijob報錯

A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and
put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened. Stack trace javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file
:/C:/Program%20Files%20(x86)/Jenkins/war/WEB-INF/lib/jenkins-core-2.7.2.jar!/hudson/model/Job/index.jelly:45:39: <st:include> com/joelj/jenkins/eztemplates/InheritenceStep/EzTemplateBuilder

這裡寫圖片描述

解決辦法:這個原因是由於外掛衝突,導致問題是這貨
EZ-template外掛導致如上報錯
這裡寫圖片描述
在jenkins的系統管理-》外掛管理-》-已安裝:同時刪除
MUltijob-plugins和EZ-template這兩個外掛
手動安裝MUltijob-plugins外掛
外掛官方安裝文件:

https://wiki.jenkins-ci.org/display/JENKINS/Plugins
外掛下載地址:http://updates.jenkins-ci.org/download/plugins/
這裡寫圖片描述
將下載的外掛(jenkins-multijon-plugins.hpi)放在jenkins的家目錄下的plugins目錄下,例如:C:\Program Files (x86)\Jenkins\plugins

警告:

Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered

重啟jenkins 即可