sonar-cnes-report icon indicating copy to clipboard operation
sonar-cnes-report copied to clipboard

Recommended way to produce a HTML analysis report

Open sprudel79 opened this issue 1 year ago • 1 comments

Hi everyone, thank you for this great project! I am able to produce reports for our Sonarqube Community Edition based .NET projects. After Sonarqube itself has received the latest information of the recent build I am currently producing the reports manually like this:

java -jar ~/Downloads/sonar-cnes-report-4.1.3.jar -o reports -p <projectName> -s <sonarInstance> -t <token>

which creates nicely the report files into the subfolder "reports". Since I haven't added any other parameters to disable some report formats I get the full set which includes also the analysis reports in both docx and md format. Since I need a HTML based format I am currently converting the md version with a npm library markdown-styles to HTML where I can also add some styles. I am wondering what's the actual recommendation to get a HTML output, perhaps this project could even support it natively (and produce a similar output as the docx, which btw. unfortunately lead to not very nice looking HTML when converting it with tools like pandoc).

Thanks in advance for any kind of feedback.

User environment

  • OS: Linux Mint 20.1
  • Project version: 4.1.3

sprudel79 avatar Nov 18 '22 09:11 sprudel79