Submitting jacoco xml reports from a container to SonarQube using web apis


Version: 8.3

I am trying to find a way to submit a jacoco xml report generated inside a container to the sonarqube server.

To accomplish this I was looking for an existing web api to be able to submit this report using a curl POST since I do not want to install and run maven on the container.
Is there another better way to handle this?


Coverage reports can only be “submitted” during analysis as part the full analysis report compiled by the Scanner. I.E. you can’t do this ad hoc.