Upload HTML file to Sonarqube project

Hi,
I am using Sonarqube 10.0.0 and Sonarscanner 5.0. and I’m using dependency-check plugin on Sonarqube which is also using with sonarscanner tool to upload html file to project and then this html file in visible as site here:

I want to achieve the same thing as described above but with a different tool, in my case it is ORT scanning licence which, also generates a file and I want to upload the html file into the project and make this file available as a site in the project as shown in the screenshot

Can anyone know solution how to achieve it?

Hey there.

The plugin you’re referencing isn’t really uploading an HTML file – but has defined an extra page to be made available (for all projects). This is not as simple a task as you’re making it out to be.

And, I would suggest digging into the code of GitHub - dependency-check/dependency-check-sonar-plugin: Integrates Dependency-Check reports into SonarQube if you’re looking for inspiration!