Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 SonarQube.Analysis.xml 中拥有所有强制性参数,例如项目密钥、项目名称和版本?
SonarQube.Analysis.xml是全局扫描仪配置。如果您正在分析多个解决方案,您将共享相同的扫描仪安装。这就是为什么放入 projectKey/version/nameSonarQube.Analysis.xml不是一个好主意的原因。请注意,从 SonarQube 6.1 + Scanner for MSBuild 2.2(应该很快发布)开始,项目名称和版本现在是可选的。
SonarQube.Analysis.xml