Getting bugs,code smells etc count in pipeline

Hi Team
I have multiple application using SonarQube. I am using Devops pipeline to deploy code to sonarqube to find bugs,vulnerabilities etc. but i got a requirement from my team to get the bugs,vulnerabilities counts in pipeline itself, is there any way to do this.

Also As i have multiple applications deployed to sonarqube, is there any way to have the lines of code for all application in one go rather than checking one by one.


Please guide me on this.


First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.3 → 8.9.3 → 9.2.1 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

Once you’ve upgraded, take a look at webhooks. The payload includes all the metrics relevant to your Quality Gate.