I want to write a shell script to login and get bugs for a project. I want the dashboard values like bugs, Vulnerabilities, code smells and coverage.
The url of dashboard is: http://www.example.com/dashboard?id=example_project.
Basically What I want to achieve is that I’m using a sonarqube plugin in Jenkins, so I use extended email plugin to send email for job execution and in that email I want to give details like number of bugs in the repository after the build.
Thanks for the follow-through. Quick comment on this:
Note that the WebAPI documentation is embedded in all SonarQube instances ! To all readers: it’s important to check the documentation in the actual instance you’re using, to be sure that what you’re reading corresponds to the SonarQube version you’ll be querying.