Export custom sonarqube report

2019-08-17 14:09发布

问题:

Basically, what I want to achieve is very similar to this post

However, the links in the answer are no longer available.

I'm very new to sonar, just set up the server and run some analysis example. I've been searching hours on how to export the test result rather than view it on the web.

Any guidance?

UPDATE: I DON'T WANT PDF FILE

回答1:

Since you simply want raw data, to be formatted and displayed elsewhere, then what you're looking for is the web services. I've linked to SonarCloud, but you'll find the link to the Web API documentation relevant to your version in footer of each page served by your SonarQube instance.