这是基于我上一个问题中描述的相同情况的第二个问题 。
我们有许多项目可以多次构建,因为它们包含在几个不同的解决方案中。 然而,我们只希望对它们进行一次分析,每个都作为特定解决方案的一部分。 在分析其他解决方案时,我们如何从分析中排除这些项目? 我试过在MSBuild.SonarQube.Runner命令行上传递/d:sonar.visualstudio.skippedProjectPattern=...但它似乎没有任何效果。
This is a second question based on the same situation described in my last question.
We have a number of projects that get built several times, as they are included in several different solutions. Yet we only want them to be analyzed once, each as part of a specific solution. How do we exclude these project from analysis when analyzing the other solutions? I have tried passing /d:sonar.visualstudio.skippedProjectPattern=... on the MSBuild.SonarQube.Runner command line but it seems to have no effect.
最满意答案
MSBuild SonarQube Runner 1.0中没有与sonar.visualstudio.skippedProjectPattern等效的内容。 我已经创建了积压http://jira.sonarsource.com/browse/SONARMSBRU-123的故障单,以考虑在将来的版本中添加此功能。
There is no equivalent to sonar.visualstudio.skippedProjectPattern in the MSBuild SonarQube Runner 1.0. I've created a ticket to the backlog http://jira.sonarsource.com/browse/SONARMSBRU-123 to consider adding this feature in a future release.
更多推荐
发布评论