标签: sonarqube5.1.2

在SonarQube分析期间"未找到类"

我在Jenkins工作中的sonarqube分析中有很多错误,分析成功

[ERROR] [14:36:44.124] Class not found: org.joda.convert.FromString
[ERROR] [14:36:44.126] Class not found: org.joda.convert.ToString
[ERROR] [14:34:42.441] Class not found: org.apache.commons.logging.Log
[ERROR] [14:34:42.724] Class not found: org.apache.oro.text.perl.Perl5Util
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModel
[ERROR] [14:34:31.442] Class not found: io.swagger.annotations.ApiModelProperty
[ERROR] [14:28:37.756] Class not found: org.apache.commons.logging.Log
[ERROR] [14:28:40.030] Class not found: org.apache.oro.text.perl.Perl5Util
Run Code Online (Sandbox Code Playgroud)

SonareQube:5.1.2

sonarQube jenkins插件:2.6

JDK:1.7

请帮忙

谢谢

jenkins sonarqube sonarqube5.1.2

15
推荐指数
1
解决办法
6577
查看次数

声纳方法在构造函数中不应为空

我将我的Sonar更新到版本5.1.2,问题Methods should not be empty出现在此代码中:

public User() {}

public User (String login) {
   this.login = login;
}
Run Code Online (Sandbox Code Playgroud)

这似乎是一个错误.我对吗?因为这之前没有发生过.

sonarqube sonarqube5.1.2

9
推荐指数
1
解决办法
9169
查看次数

如何在代理后面通过SonarQube安装/更新插件?

我有一个SonarQube 5.1.2安装,我正在尝试安装和更新一些插件,服务器没有直接的互联网访问,我们在这里有一个代理,让我们说http://1.1.2.3:9191/是我们的代理和我们有用户和密码验证.好吧,我已经根据文档编写了sonar.properties

http.proxyHost=10.1.2.3
http.proxyPort=9191
http.proxyUser=theuser
http.proxyPassword=thepassword
Run Code Online (Sandbox Code Playgroud)

我转到http://sonar.sub.domain:9000/updatecenter/updates,我可以看到插件列表和更新,所以我假设在这一点上代理通信是正常的.

但是,当我尝试更新或安装插件时,我在页面中出现此错误(请注意该no proxy消息).

Fail to download the plugin (scmsvn, version 1.2) from https://bintray.com/artifact/download/sonarsource/SonarQube/org/sonarsource/scm/svn/sonar-scm-svn-plugin/1.2/sonar-scm-svn-plugin-1.2.jar (error is : Fail to download: https://bintray.com/artifact/download/sonarsource/SonarQube/org/sonarsource/scm/svn/sonar-scm-svn-plugin/1.2/sonar-scm-svn-plugin-1.2.jar (no proxy))   [hide] 
Run Code Online (Sandbox Code Playgroud)

所以我调试日志并尝试,这会出现在日志中

2015.09.11 09:32:47 DEBUG web[o.s.a.u.HttpDownloader$BaseHttpDownloader$HttpInputSupplier] Download: http://update.sonarsource.org/update-center.properties (HTTP proxy: 1.1.2.3:9191)
2015.09.11 09:32:49 DEBUG web[o.s.a.u.HttpDownloader$BaseHttpDownloader$HttpInputSupplier] Download: https://bintray.com/artifact/download/sonarsource/SonarQube/org/sonarsource/scm/svn/sonar-scm-svn-plugin/1.2/sonar-scm-svn-plugin-1.2.jar (no proxy)
2015.09.11 09:33:10 DEBUG web[o.s.s.p.PluginDownloader] Fail to download the plugin (scmsvn, version 1.2) from https://bintray.com/artifact/download/sonarsource/SonarQube/org/sonarsource/scm/svn/sonar-scm-svn-plugin/1.2/sonar-scm-svn-plugin-1.2.jar (error is : Fail to download: https://bintray.com/artifact/download/sonarsource/SonarQube/org/sonarsource/scm/svn/sonar-scm-svn-plugin/1.2/sonar-scm-svn-plugin-1.2.jar (no proxy))
org.sonar.api.utils.SonarException: Fail to download: …
Run Code Online (Sandbox Code Playgroud)

proxy sonarqube sonarqube5.1.2

1
推荐指数
1
解决办法
2879
查看次数

标签 统计

sonarqube ×3

sonarqube5.1.2 ×3

jenkins ×1

proxy ×1