How to export results as a PDF report?

前端 未结 4 1458
梦毁少年i
梦毁少年i 2021-02-04 06:41

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?

No plugin seems to be avail

相关标签:
4条回答
  • 2021-02-04 07:21

    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

    0 讨论(0)
  • 2021-02-04 07:24

    To get html reports add these properties to your sonar.properties file

    sonar.analysis.mode=preview 
    sonar.issuesReport.html.enable=true
    
    0 讨论(0)
  • 2021-02-04 07:40

    To export results, you need to use paid version of SonarQube. This feature is not available for the free version of SonarQube.

    0 讨论(0)
  • 2021-02-04 07:42

    The Governance plugin allows to generate PDF reports. See http://docs.sonarqube.org/display/PLUG/Governance+plugin for more details. Please note that I work at SonarSource, the company developing this commercial plugin.

    EDIT:

    Governance plugin has been replaced by the SonarQube Enterprise Edition in versions 7.x.

    0 讨论(0)
提交回复
热议问题