- SonarQube server version - 7.2, SonarQube VSTS extension version 4.7.2
We have Azure DevOps pipeline which has code analysis step which integrates SonarQube VSTS extension to analyze .NET C# project by calling the following tasks
with the following extra properties
- VSTest@2 with codeCoverageEnabled: true
All the above tasks complete successfully and the build completes successfully. But the code coverage information and the static analysis results are not getting published on the SonarQube server.
I see that if I run the analysis on a new branch, that new branch is created on the SonarQube server but the report contains no violations though we intentionally introduced unused functions and variables which should have been reported.
Anyone else facing similar issues with Azure DevOps integration?