【发布时间】:2015-02-04 02:59:51
【问题描述】:
我已经为我的 PHP 项目安装了 CI 环境。
我使用詹金斯 + 声纳 + Gitlab。
在建立詹金斯工作之前,一切看起来都很棒。
错误信息是
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 2:03.218s
Final Memory: 345M/456M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Unable to blame file src/apps/conf.php. No blame info at line 1. Is file commited?
10:21:17.165 INFO - Author: PersonIdent[Not Committed Yet, , Wed Feb 4 10:21:17 2015 +0800]
ERROR:
我发现 sonar SCM-Activity-Plugin 报告了这个错误。
conf.php文件是我的配置文件,无法推送到Gitlab。
那么,有没有办法让SCM-Activity-Plugin过滤这些配置文件?
非常感谢!
【问题讨论】:
-
如果无法推送到远程,为什么不将此文件添加到.gitignore?