jenkins报错总结

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

报错:没有找到项目的根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
  • 1
  • 2
  • 3
  • 4
  • 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-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
  • 1

重启jenkins 即可

 

http://blog.csdn.net/dwl764457208/article/details/50836403

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值