How to export the results as a report in PDF format?

I am using SonarQube 5.6.3. How can I create a SonarQube analysis details report as a PDF, an Excel report, or an HTML report?

A plugin is not available for this.

I was unable to create the html file using the following configuration:

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

How can I export this data from SonarQube?

+4
source share
3 answers

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

+1
source

-maven-plugin . pom:

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

target/sonar

+1

To get html reports, add these properties to the sonar.properties file.

sonar.analysis.mode=preview 
sonar.issuesReport.html.enable=true
-1
source

Source: https://habr.com/ru/post/1666591/


All Articles