为 5.2 生成声纳报告

Generating sonar report for 5.2

我的要求是 运行 将调用声纳分析的詹金斯作业。 这已经实现了。

现在我只想生成一个 PDF 报告并通过电子邮件发送该报告。 经过分析,我遇到了 "sonar-report-plugin" 来实现这一点。 根据下面的文档,我需要 运行 "sonar-runner report" 命令来达到预期的结果。 但是对于声纳 5.2,批处理端不再支持任务,因此上述命令无法执行,只是 运行 宁 "sonar-runner" 不会在指定的仪表板上生成 PDF。

我参考的文档是“http://www.sonarsource.com/products/plugins/governance/report/installation-and-usage/

请告知我该怎么做才能获得所需的结果。

PDF Report plugin is not compatible with SonarQube 5.2 (see Plugin Version Matrix and issue to resolve problems with 5.1) and is marked as deprecated (see Deprecated Plugins):

PDF Report - Generates PDF report from project analysis. Note that report is not configurable and cannot be sent by email and the plugin is limited to Java Maven projects.