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.
我遇到同样的麻烦。checkstyle_report.xml 没问题。但是报告不能显示hudson仪表板。
如何解决这个问题?
提前致谢!
尝试开始另一个构建。您必须选择在作业配置中发布这些结果:
打开您的工作,选择Configure,向下滚动到Post-build Actions并检查Publish Checkstyle analysis results其他的。对于每个工具,您必须指定结果所在的路径,例如bin/checkstyle_report.xml.
Configure
Post-build Actions
Publish Checkstyle analysis results
bin/checkstyle_report.xml
您的构建运行 Maven 目标 checkstyle:checkstyle