Jenkins插件使用

为什么80%的码农都做不了架构师?>>>   hot3.png

【findbugs】:java静态扫描的工具(以maven插件形式提供),有jenkins的插件形式 findbugs.hpi(hudson plug in)配合,其依赖于其他的插件:如violations.hpi、analysis-collector.hpi、analysis-core.hpi

1.检查依赖:对笔者的环境而言,可以查看 http://xxx.xxx.xxx.xxx:8081/jenkins/pluginManager/available 搜索findbugs 把所有的都相关的都勾选上,

2.自动下载插件:然后尝试 Download now and istall after restart 

3.手动下载插件:如果3步骤失败,则查看失败详情,展开失败的下载url,自己手动下载这些插件

4.手动安装:更新这些hpi到到相应的目录中 /usr/local/apache-tomcat-6.0.37-src/webapps/jenkins/plugins

5.重启jenkins http://10.129.145.112:8081/jenkins/ 打开你的java项目,就可以看到如下图所示的findbugs选项了

091025_ut33_123914.png

转载于:https://my.oschina.net/sanpeterguo/blog/208796

你可能感兴趣的:(Jenkins插件使用)