本文介绍了SonarQube:自创建以来未进行任何分析.唯一可用的部分是配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 SonarQube 新手.我正在通过 sonar-eclipse-plugin 在 eclipse 中运行分析.但在远程服务器上,它显示:

I'm a SonarQube newbie. I'm running analysis in eclipse via sonar-eclipse-plugin. But on remote server, it displays:

自创建以来未执行任何分析.唯一可用的部分是配置

如何在服务器上查看分析结果?

How can I see the results of the analysis on the server?

推荐答案

这意味着你有 配置您的项目以便能够在 Eclipse 中进行本地分析.

This means that you have provisioned your project to be able to make a local analysis in Eclipse.

  • 本地分析(如 Eclipse 中发生的情况)不会将数据推送到服务器 - 它们用于预览"代码的质量

  • Local analyses (like what happens in Eclipse) don't push data to the server - they are used to "preview" the quality of your code

定期分析会将结果推送到服务器.您使用 Maven、SonarQube Runner、Ant、Gradle、Jenkins 等运行此类分析...

Regular analyses do push the results to the server. You run such an analysis with Maven, SonarQube Runner, Ant, Gradle, Jenkins, ...

因此,如果您想在 SonarQube Web 应用程序中查看结果,只需进行常规分析即可.分析源代码"文档部分中解释了所有内容.

So if you want to see the results inside SonarQube Web application, just a regular analysis. Everything is explained in "Analyzing Source Code" documentation section.

这篇关于SonarQube:自创建以来未进行任何分析.唯一可用的部分是配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 13:40