SonarQube: No analysis has been performed since creation. The only available section is the configuration

后端 未结 2 1815
天涯浪人
天涯浪人 2021-01-13 10:06

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

No analysis has been performed

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-13 10:44

    This means that you have provisioned your project to be able to make a local analysis in 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

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

    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.

提交回复
热议问题