Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
build.xml 中的 Findbugs 脚本:Findbugs 检查编码... Findbugs 检查编码...
生成一个 findbugs_result.xml。
下载适用于 hudson 的 Findbugs 插件。
输入 hudson 的 findbugs_result.xml 路径。
但是hudson不能在主界面上显示。为什么?
我发现 Hudson 存储路径的方式存在一些令人讨厌的不一致之处;有时您将整个工作区目录用于 Hudson 作业,而有时您必须使用作业检查出源代码控制的代码的路径。例如,如果您的代码被检出到工作区目录下的 MyProject,然后测试 XML 文件进入 MyProject/target/test-reports,请尝试在路径的开头指定带和不带 MyProject 的路径。