生成5.2的声纳报告(Generating sonar report for 5.2)

编程入门 行业动态 更新时间:2024-10-26 18:19:06
生成5.2的声纳报告(Generating sonar report for 5.2)

我的要求是运行jenkins工作,调用声纳分析。 这是实现的。

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

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

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

My requirement is to run jenkins job that will invoke sonar analysis. This was achieved.

Now all I want is to generate a PDF report and send that report through email. On analysis, I came across "sonar-report-plugin" to achieve this. As per the below documentation, i need to run "sonar-runner report" command to achieve the desired result. but for sonar 5.2 Tasks are no more supported on batch side so the above command fails to execute and just running the "sonar-runner" does not generate the PDF on the specified dashboard.

The documentation i refereed to is "http://www.sonarsource.com/products/plugins/governance/report/installation-and-usage/"

please advise what can i do to get the required result.

最满意答案

PDF报告插件与SonarQube 5.2不兼容(请参阅插件版本矩阵和解决5.1问题的问题 ),并标记为已弃用(请参阅不推荐使用的插件 ):

PDF报告 - 从项目分析生成PDF报告。 请注意,报告不可配置,无法通过电子邮件发送,插件仅限于Java Maven项目。

The 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.

更多推荐

本文发布于:2023-08-07 12:11:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464292.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:声纳   报告   report   sonar   Generating

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!