How to export results as a PDF report?

元气小坏坏 提交于 2019-12-03 02:29:02

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

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.

Mounika

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

sonar.analysis.mode=preview 
sonar.issuesReport.html.enable=true
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!