问题描述
Sonar Lint 2.0,它连接到我自己的 Sonar Qube 服务器,插件没有报告任何问题.问题是它与我的服务器规则不同步.找到了 Java 文档中提到的那些,但它们似乎也不是全部.我想知道这些java规则列表是否仅在未连接到任何服务器时才使用.
Sonar Lint 2.0, It's connected to my own Sonar Qube server with no issues reported by the plugin. The issue is that it is not in sync with my server rules. Found those mentioned in the doc for Java but they also seemed not to be all. I wonder if these java rule list are used only when it's not connected to any server only.
在使用远程服务器时,是否对使用或同步哪些规则有限制?
Does it have a restriction of what rules to use or synchronize when using a remote server?
如果可能的话,我们可以做些什么来让它同步.
What exactly we can do to make it synch if it is possible.
Plateform: Java
SonarQube Server: Version 5.6+
Sonar Lint: Version 2.0
推荐答案
问题是:
- SonarQube 服务器支持 PMD、FindBug 和 CheckStyle 等外部插件.
- SonarLint 管理层已决定不支持任何外部插件,因此您在此处仅支持 Sonar 错误规则.
- SonarQube Server supports external plugins like PMD, FindBug, and CheckStyle.
- SonarLint management has decided not to support any external plugin, so you have only support of Sonar bug rules here.
解决方案:
我们可以做的是,我们可以从 SonaQube 服务器导出错误规则文件并将其与已安装的外部插件(PMD、FindBug、CheckStyle)链接,以便它们可以提示您 Sonarlint 无法单独显示的问题.
What we can do is that we can export the bug rules file from SonaQube Server and link it with the installed external plugins (PMD, FindBug, CheckStyle) so they can prompt you issues which Sonarlint is not able to show alone.
这篇关于Sonar Lint 与服务器规则不同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)