简体   繁体   English

SCM插件与Sonar Qube集成

[英]SCM Plugin Integration with Sonar Qube

Can anyone explain me why we need SCM Plugin in Sonar Qube what are the benefits of it.I tried to find the same solution on below link:- 1. http://docs.sonarqube.org/display/PLUG/SCM+Activity+Plugin 2. http://docs.sonarqube.org/display/SONAR/SCM+support 任何人都可以解释为什么我们需要在Sonar Qube中使用SCM插件有什么好处。我试着在下面的链接上找到相同的解决方案: - 1. http://docs.sonarqube.org/display/PLUG/SCM+Activity +插件 2. http://docs.sonarqube.org/display/SONAR/SCM+support

But did not get much knowledge about it. 但是没有太多关于它的知识。

You don't need the SCM Activity Plugin; 您不需要SCM活动插件; the core functionality to support SCM data was rolled into the platform in 5.0. 支持SCM数据的核心功能已在5.0中进入平台。

You do need the plugin that corresponds to your SCM engine. 确实需要与SCM引擎相对应的插件。 It provides the specific integration between your SCM's commands and the SonarQube server. 它提供了SCM命令与SonarQube服务器之间的特定集成。 That is, it actually talks to your SCM to get the commit data for each line of each file and puts it in a format SonarQube can understand. 也就是说,它实际上与您的SCM交谈以获取每个文件的每一行的提交数据,并将其放入SonarQube可以理解的格式中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM