【发布时间】:2017-10-19 13:43:48
【问题描述】:
我正在尝试将声纳分析集成到我的 Jenkins 中。我已经设置了一个多模块配置,并且我认为根据 jenkins 构建日志,分析运行正常。
INFO: Analysis report generated in 234ms, dir size=774 KB
INFO: Analysis reports compressed in 94ms, zip size=199 KB
INFO: Analysis report uploaded in 74ms
INFO: ANALYSIS SUCCESSFUL, you can browse
http://localhost:9000/dashboard/index/perso
INFO: Note that you will be able to access the updated dashboard once the
server has processed the submitted analysis report
INFO: More about the report processing at http://localhost:9000/api/ce/task?
id=AVwVnhRax2vtJSkdxag8
INFO: Task total time: 9.919 s
INFO: ---------------------------------------------------------------------
INFO: EXECUTION SUCCESS
但是当我前往声纳仪表板时,我得到的只是这个。
No analysis has been performed since creation. The only available section is the configuration.
我查看了 Sonar 日志,其中显示了错误,但遗憾的是我无法基于此解决问题。 错误:https://pastebin.com/N50RhBT3
最后的原因是 SSL 连接异常,但既然两个服务器都在本地运行,为什么会有 SSL?
使用的版本:Sonar 插件 2.6.1、Sonarqube 服务器 6.3.1、Sonarqube Scanner 3.0.3.778。 , 詹金斯 2.59
谢谢, 彼得
【问题讨论】:
-
那个错误在服务器日志中?后台任务处理日志呢?
-
你能给我指出日志文件吗?以上来自sonar\logs\ce.log
-
我从仪表板打开了日志,如下所示docs.sonarqube.org/display/SONAR/Background+Tasks。它显示相同的错误。
-
还要检查 sonar\logs\sonar.log
-
过程中没有更新。最后一行是 -- INFO app[][o.s.application.App] SonarQube is up
标签: jenkins sonarqube sonarqube-ops