为什么不生成findbugs_result.xml?

时间:2012-03-02 09:13:24

标签: hudson jenkins

我安装了jenkins 1.452和findbugs 4.34,在构建和调用findbugs之后,没有生成findbugs_result.xml,因此也没有生成findbugs报告。以下信息是:

[FINDBUGS] Collecting findbugs analysis files...
Finished: SUCCESS

Normaly findbugs应该生成result.xml并将其解析为许多警告,以便我们可以在输出控制台中看到许多警告或进度消息。 Findbugs在哈德森的同一个项目中正常工作,我在jenkins中与hudson相同。以下是配置快照。 enter image description here

操作系统是CentOS,在那里我可以找到findbugs日志,我想也许有些错误消失了,日志对我的情况非常有帮助。


我将名称更改为'** / findbugs.xml“,它会引发另一个错误:

[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Parsing 1 files in /home/irteam/.jenkins/jobs/hangame-dnest/workspace
[FINDBUGS] Parsing of file /home/irteam/.jenkins/jobs/hangame-dnest/workspace/common-build/common/findbugs.xml failed due to an exception:

org.dom4j.DocumentException: Sax error  Nested exception: Invalid top-level element (expected BugCollection, saw project)

你有一些线索吗?

0 个答案:

没有答案
相关问题