如何将 SonarQube 6.4 连接到 SonarLint 3.5

How to connect SonarQube 6.4 to SonarLint 3.5

我正在尝试将 SonarLint 连接到 SonarQube,但出现以下错误 The following plugins do not meet the required minimum versions, please upgrade them on your SonarQube server: java (installed: 3.14, minimum: 4.0)

SonarQube 版本:6.4 SonarLint 版本:3.5

我该如何解决我的问题? 提前致谢!

SonarQube 服务器使用多种语言特定的扫描仪插件进行分析,如 Java、PHP 等。SonarJava 是它的 Java 特定模块。 您遇到的问题是您的 SonarQube 服务器中的 SonarJava 版本是 3.14,而 SonarLint 从 4.0 版开始工作。最新版本是 4.15。

您可以通过访问 SonarQube 管理仪表板来验证这一点,如下所示。通过更新 SonarJava 版本可以解决您的问题。