美文网首页
SonarQube: Eclipse 插件无法连接

SonarQube: Eclipse 插件无法连接

作者: antony已经被占用 | 来源:发表于2019-03-20 21:19 被阅读0次

在使用Eclipse的SonarQube插件连接SonarQube时,在查询SonarQube的项目清单时,老是报 not result 。
通过查看SonarQube日志,发现在这一步时压根没有收到Eclipse发过来的请求。再往前翻,发现有一个404的记录。
/api/server/index 404
另外,查看在Eclipse中添加的SonarQube服务器状态为disable,版本为unknown。
怀疑与这个问题相关。通过科学上网,找到了以下这个连接。
https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=13470

[SONAR-8535] - Drop internal WS api/server/setup and api/server/index

WS api/system/status and api/system/migrate_db are already used by JS app, so the internal WS api/server/setup and api/server/index can be dropped.
原来在SonarQube6.3以上就已经drop了这个接口了。可能是这个原因导致了SonarQube插件压根没注册上。
好吧,原来是插件的更新跟不上SonarQube的版本了。

准备回头试试SonarLint for Eclipse
https://www.sonarlint.org/eclipse/

相关文章

网友评论

      本文标题:SonarQube: Eclipse 插件无法连接

      本文链接:https://www.haomeiwen.com/subject/qbkxvqtx.html