We’ve recently upgraded our sonar instance to 10.2.1 from 9.9.2 LTS and noticed that Quality Gates in Azure DevOps stopped working correctly they are constantly hanging on Waiting.
We are using:
Sonarqube Developer Edition Version 10.2.1 (build 78527) (Docker image on AKS)
Azure DevOps (Latest)
SonarQube extension version 5.15.0 (Latest)
We have configured Projects in sonarqube to integrate with Azure DevOps (DevOps Platform Integration) and have Valid Azure DevOps configuration on administration panel
Is there anything else we need to configure to make it work?
Thank you for the quick reply.
As I mentioned we already have setup ALM Integration on project level and in administration panel but it still doesn’t work. Did we need to configure it anywhere else beside this two places for quality gates to work in PRs?
My next suggestion would be to check the Compute Engine logs (the ce.log file of your /logs/ directory) after submitting an analysis of this pull request. Maybe it’s swallowing some errors instead of making them visible on the UI.
We’ve done some digging and found out the reason for our problem, seems like old version of azure devops tasks are not compatible with current version of SonarQube.
After changing them to latest ones PR’s started working correctly.