[英]Publishing Sonar analysis on SonarQube Dashboard
We have Eclipse Java EE IDE for Web Developers. 我们为Web开发人员提供了Eclipse Java EE IDE。
Version: Luna Release (4.4.0)
Build id: 20140612-0600
I have installed SonarQube Plugin in my eclipse and have configured the SonarQube Server. 我在日食中安装了SonarQube插件,并配置了SonarQube服务器。 Tested the Server connection in Eclipse.
在Eclipse中测试了服务器连接。
Windows>Preferences>Sonar>Servers. Connection is successful.
I am able to associate my project to Sonar in eclipse and get the report locally. 我能够将我的项目与Eclipse的Sonar相关联,并在本地获取报告。
After fixing the violated issues , Is there a way we can publish the new report from our Local to the SonarQbe server dashboard.? 解决了违反的问题之后,有什么方法可以将新报告从本地发布到SonarQbe服务器仪表板。
First, you appear to be using an old version of the plugin; 首先,您似乎正在使用旧版本的插件; the most recent version of SonarLint for Eclipse has not yet re-established the connected experience (although that's coming soon).
SonarLint for Eclipse的最新版本尚未重新建立连接体验(尽管即将推出)。 You may be interested in upgrading because SonarLint checks your code as you work;
您可能对升级感兴趣,因为SonarLint在工作时会检查您的代码。 there's no longer a need to trigger the analysis.
不再需要触发分析。 This way, issues are brought to your attention immediately instead of your having to remember to look for them.
这样,问题便会立即引起您的注意,而不必记住寻找它们。
Now to your question: there is not a way to push your updated results from Eclipse directly into the SonarQube platform; 现在您的问题是:没有一种方法可以将更新后的结果从Eclipse直接推到SonarQube平台中。 you'll need to perform a full analysis.
您需要执行完整的分析。 Keep in mind that in-IDE analysis runs most but not all rules.
请记住,in-IDE分析会运行大多数规则,但不是全部规则。 Ie you're not going to get issues in Eclipse from the rule about too-low coverage thresholds, for instance.
也就是说,例如,您不会从关于覆盖范围阈值过低的规则中解决Eclipse中的问题。 Ditto duplicatons.
同上副本。 Those are only run as part of the full analysis.
这些仅作为完整分析的一部分运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.