How to view scanner results without GUI?

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

    • sonarqube-developer-8.2.0.32929
    • sonar-scanner-cli-4.2.0.1873-linux
    • build-wrapper-linux-x86
    • sonar-cfamily-plugin-6.8.0.16475
  • what are you trying to achieve
    View and store scanner results for C project without the SonarQube GUI

  • what have you tried so far to achieve this
    Searched documentation, unsuccessful

Hello Ai Nguyen

Thanks for contacting us.

You cannot access issues locally after an analysis.
You need to go the sonarqube instance as all the data and the issue management is there.
Going to the sonarqube instance does not necessary mean using a GUI.
There is a Web API interface that I am sure will allow you to do what you need.

All the help you need can be found at
{your_sonarqube_url}/web_api

Another read is worth having while trying to access the Web API:
https://docs.sonarqube.org/latest/extend/web-api/

I hope it helps.

Geoffray,

I will look into the Web API.

Thanks so much,
Ai

The URL https://docs.sonarqube.org/latest/extend/web-api/ does not appear valid, i’m getting a ‘site not found’

Could you check?
Thanks

Sorry, it seems there was a problem with the link. I fixed it.