问题
We have a private sonarqube instance setup on our infrastructure, we analyzed a project source code and see that analysis results shown in sonarqube dashboard do not include all projects as shown in VSTS code coverage results. The excluded projects aren't test projects. Details below,
- SonarQube version: 6.7.1, Community Edition
- SonarC# version: 6.8.2(build 4717)
- SonarQube VSTS task version : 3.2.0(4.1 version doesn't work at all)
- SonarScanner for MSBuild: 4.1
- Solution Version: VS 2015
- VSTest Console.exe version: 14.0.25420.1
We want to understand if there's a way to find how and why these projects are excluded from code coverage analysis, and a way to force SonarQube to include a project in analysis.
来源:https://stackoverflow.com/questions/49512297/sonarqube-results-not-displaying-coverage-details-for-all-projects