[英]sonar-swift to analyse xcode project
Im trying to analyse swift app using SonarQube. 我试图使用SonarQube分析swift应用程序。 followed the instructions from here
按照这里的说明
Im able to run the sonarqube server and running sonar-scanner while running it I'm getting this error 我能够运行sonarqube服务器并在运行时运行声纳扫描仪我收到此错误
com.sonarsource.AABA: No license for swift com.sonarsource.AABA:没有swift许可证
I'm using this plug in, backelite-sonar-swift-plugin-0.2.4.jar i feel this plug in is free and we can use it. 我正在使用这个插件,backelite-sonar-swift-plugin-0.2.4.jar我觉得这个插件是免费的,我们可以使用它。 correct me it I'm wrong.
纠正我,我错了。
What I did was: 我做的是:
Manual Installation 手动安装
In the page dedicated to the plugin you want to install (ex: for Python : SonarPython), click on the "Download" link of the version compatible with your SonarQube version. 在专用于您要安装的插件的页面中(例如:对于Python:SonarPython),单击与SonarQube版本兼容的版本的“下载”链接。
Upload the downloaded jar file in your SonarQube Server and put it in the directory : $SONARQUBE_HOME/extensions/plugins
. 将下载的jar文件上传到SonarQube Server并将其放在以下目录中:
$SONARQUBE_HOME/extensions/plugins
。
If another version of the same plugin is already there, you need to remove it, since only one version of a given plugin may be available in the extensions/plugins
directory. 如果已存在同一插件的另一个版本,则需要将其删除,因为
extensions/plugins
目录中只有一个给定插件版本可用。
Once done, you will need to restart your SonarQube Server. 完成后,您需要重新启动SonarQube服务器。
https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin
Backelite Sonar-Swift last release: Backelite Sonar-Swift上次发布:
https://github.com/Backelite/sonar-swift/releases https://github.com/Backelite/sonar-swift/releases
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.