jenkins报错总结

报错:coding.net不支持http协议改用ssh协议git clone代码
jenkins报错总结_第1张图片
原因是私有库,需要配置和服务器的秘钥文件
http://blog.csdn.net/dwl764457208/article/details/50836284文章位置
配置秘钥 点击add即可
jenkins报错总结_第2张图片
完成
jenkins报错总结_第3张图片

报错:没有找到项目的根pom文件
jenkins报错总结_第4张图片
解决办法,根据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:  com/joelj/jenkins/eztemplates/InheritenceStep/EzTemplateBuilder

jenkins报错总结_第5张图片

解决办法:这个原因是由于插件冲突,导致问题是这货
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报错总结_第6张图片
将下载的插件(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 即可

你可能感兴趣的:(jenkins)