Ayush1
(111@Ayush)
May 10, 2024, 5:53am
1
Hi again.
I have integrated sonar 10.5.1 with jenkins and created a pipeline and performed a scan. That scan is visible in sonarqube dashboard.
Now I want to generate a HTML report of the analysis.
Is there any way that I can download the report in html format?
Further I have to push that report to defectdojo through cmd. Are there any commands that you can suggest/tell for this too?
Please help…!!!
Hi,
see this post for some reporting plugins
Welcome
Either do it on your own via Sonarqube web api and process the results to pdf or try one of these plugins
free, works with Sonarqube LTS version but not latest
commercial ($), works with Sonarqube LTS and latest
Otherwise you may create your own plugin, see
Gilbert
The bitegarden report plugin for Sonarqube
is able to create a report in odt (Open Document Textformat) and odt can be converted to html.
There’s also a community plugin for generating html reports, never used it myself.
Generates an html report from SonarQube
You might also use
export via sonar-measures-export and convert the csv to html.
WRT to defectdojo i can’t help
I actually once asked the question of how Sonarqube works with DefectDojo in 2020, but did not receive a satisfactory answer at the time
Discussions on GitHub indicated efforts to create a dedicated API for extracting data from Sonarqube for DefectDojo, although ultimately it was decided not to proceed with this approach
This discussion also mentions some tool generating html reports in Sonarqube
Another Github issue highlighted a problem with setting up the integration due to connection e…
Gilbert