简体   繁体   English

在SonarQube仪表板上发布Sonar分析

[英]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.

相关问题 sonarqube js分析成功,仪表板中没有详细信息 - sonarqube js analysis is successful without details in dashboard Sonarqube sonar.analysis.mode预览模式被忽略 - Sonarqube sonar.analysis.mode preview mode gets ignored SonarQube - mvn 声纳:声纳 - NoSuchElementException - SonarQube - mvn sonar : sonar - NoSuchElementException 在 Jenkins 1.620 SonarQube 5.1.1 中运行声纳分析时,SVN 身份验证失败 - SVN authentication failure when running a Sonar analysis in Jenkins 1.620 SonarQube 5.1.1 SonarQube分析错误“ SonarQube Scanner执行期间发生错误:请为您的项目的已编译类提供sonar.java.binaries” - SonarQube Analysis Error “Error during SonarQube Scanner execution : Please provide compiled classes of your project with sonar.java.binaries” 无法获取SONAR仪表板 - Not able to get the SONAR dashboard 当声纳分析绑定到多模块项目中的maven生命周期时,如何使SonarQube模块仅分析项目一次? - How to make SonarQube module analyze the project only once when sonar analysis is bound to maven lifecycle in a multi-module project? 将自定义问题发布到声纳sonarqube? - Custom issue posting to sonar sonarqube? SonarQube扫描仪的变化分析 - SonarQube Scanner Analysis on Changes 在Sonar上发布JUnit测试报告 - Publishing JUnit test reports on Sonar
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM