如何将结果导出为 PDF 报告? [英] How to export results as a PDF report?

查看:22
本文介绍了如何将结果导出为 PDF 报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SonarQube 5.6.3.如何将 SonarQube 分析详细信息报告创建为 PDF 表单、excel 报告或 html 格式的报告?

I am using SonarQube 5.6.3. How can I create a SonarQube analysis details report as a PDF form, an excel report, or an html formatted report?

似乎没有可用的插件.

我无法使用以下配置生成 html 文件:

I was unable to generate an html file using below configuration:

sonar.issuesReport.html.enable = true
sonar.issuesReport.html.location = c:
sonar.issuesReport.html.name = sample

如何从 SonarQube 导出这些详细信息?

How can I export these details from SonarQube?

推荐答案

对于 sonar-maven-plugin 它的工作原理是一样的.只需将这两个属性添加到 pom 文件中即可:

For the sonar-maven-plugin it works the same. Just add these two properties to the pom file:

<project xmlns="...>
     ...
    <properties>
         <sonar.analysis.mode>preview</sonar.analysis.mode>
         <sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable>
    </properties>
    ...
</project>

结果将在目标/声纳文件夹中

results will be in the target/sonar folder

这篇关于如何将结果导出为 PDF 报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆