SonarQube msbuild runner does not import all fxcop messages

最后都变了- 提交于 2019-12-08 10:04:59

问题


We use sonarqube and the sonarqube msbuild runner in our TFS vNext builds. The integration works: we see new analysis results in sonarqube as expected. However, not all issues from the CodeAnalysisLog.xml are imported in sonarqube. If we run the analysis locally, those issues are reported. If we inspect the CodeAnalysisLog.xml as produced on the build server, the issue is present in the file. SonarQube however does not show it. We do use custom rule-sets, but everything is configured correctly locally and on the server.

I tried to look at the source code to see how the parsing and filtering works, but cannot find anything. I've looked at the open issues on Jira, but see nothing that looks related.

How can I debug this further? And are other experiencing the same?


回答1:


This is going to be fixed with the upcoming SonarQube C# plugin version 5.2, whose RC1 is currently available for testing: https://groups.google.com/forum/#!topic/sonarqube/0gghnIQf3XU



来源:https://stackoverflow.com/questions/36865816/sonarqube-msbuild-runner-does-not-import-all-fxcop-messages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!