简体   繁体   English

配置SonarQube Eclipse插件以可视化Jenkins上Sonar插件的分析结果

[英]Configure SonarQube Eclipse plugin to visualize the results of analysis from Sonar plugin on Jenkins

I have a question regarding the setup and configuration of SonarQube plugin in Eclipse . 我对Eclipse中SonarQube插件的设置和配置有疑问。 We have Sonar plugin version 2.1 installed in Jenkins. 我们在Jenkins中安装了Sonar插件版本2.1。 It runs analysis every day and I want to configure the Eclipse plugin so that it displays the result from the Jenkins analysis. 它每天运行分析,我想配置Eclipse插件,以便显示Jenkins分析的结果。 I don't know if this is possible because I can't find any information about this, the only hope comes from the first answer of this question . 我不知道是否有可能,因为我找不到有关此的任何信息,唯一的希望来自这个问题的第一个答案。

PS. PS。 I apologize if there already is an answer to my question, I couldn't find it. 抱歉,我的问题已经存在,我找不到。

The Sonarqube eclipse plugin is able to present to you the results of your analysis you run with jenkins. Sonarqube eclipse插件能够向您展示使用jenkins运行的分析结果。 The results your are looking for however, are stored in the sonarqube database. 但是,您要寻找的结果存储在sonarqube数据库中。 So you need to to configure the sonarqube eclipse plugin to connect to the sonarqube-server, not the jenkins-server. 因此,您需要配置sonarqube eclipse插件以连接到sonarqube服务器,而不是jenkins服务器。

Here is how you do the configuration: http://docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+Eclipse 这是配置方法: http : //docs.codehaus.org/display/SONAR/Configuring+SonarQube+in+Eclipse

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM