【发布时间】:2015-04-02 10:23:59
【问题描述】:
我关注 sonarqub 的官方支持 http://docs.sonarqube.org/display/SONAR/SCM+support
我得到了上面的错误。
我是否错过了需要配置的东西,或者配置错误
08:46:33.723 INFO - Sensor SCM Sensor...
08:46:33.897 INFO - SCM provider for this project is: git
08:46:33.898 INFO - Retrieve SCM blame information...
08:46:33.915 INFO - 632 files to be analyzed
08:46:34.377 INFO - Author: PersonIdent[Not Committed Yet, , Tue Feb 3 08:46:34 2015 +0000]
08:46:34.379 INFO - Source commit: null
08:46:34.377 INFO - Author: PersonIdent[Not Committed Yet, , Tue Feb 3 08:46:34 2015 +0000]
08:46:34.924 INFO - Source commit: null
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 1:01.699s
08:46:35.891 INFO - Author: PersonIdent[Not Committed Yet, , Tue Feb 3 08:46:35 2015 +0000]
08:46:34.930 INFO - Author: PersonIdent[Not Committed Yet, , Tue Feb 3 08:46:34 2015 +0000]
08:46:35.930 INFO - Source commit: null
Final Memory: 27M/318M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Unable to blame file
非常感谢。
【问题讨论】:
-
同样的事情,我什至修复了行尾(已知问题),但这并没有帮助。可能是另一个 SCM 插件或 maven 库的副作用。您是否尝试过禁用所有其他 SCM 相关插件?
-
现在可以将
sonar.scm.disabled=true添加到我的sonar.properties 文件中。在修复之前,也许这会对您有所帮助。 -
@Stephan 谢谢,我试过了,但对我不起作用。
-
@Stephan 将其添加到我的 sonar.properties 文件中不起作用(SonarQube 5.0.1)。但是,在我的 Jenkins Sonar 配置中将其添加为“附加属性”。
-
我们在哪里可以提供声纳中的爵士存储库 URL?