【发布时间】:2013-01-19 02:33:03
【问题描述】:
我正在尝试将 Jenkins 与 CakePHP 结合使用,作为我推动更好 CI 的一部分。
我正在使用以下命令执行构建作业步骤。
/var/lib/jenkins/workspace/ABC-MASTER/src/abc/Console/cake testsuite -app
/var/lib/jenkins/workspace/ABC-MASTER/src/abc app AllTests --log-junit
/var/lib/jenkins/workspace/ABC-MASTER/build/logs/junit.xml --coverage-clover
/var/lib/jenkins/workspace/ABC-MASTER/build/logs/clover.xml --coverage-html
/var/lib/jenkins/workspace/ABC-MASTER/build/coverage
这甚至会为 lib 文件夹生成覆盖率报告。
我的问题是:
- 我是否也应该为 lib 文件夹生成覆盖 html 页面?
- 如果没有,我该如何关闭它?
我的代码结构如下:
build
src
abc (this is the app folder)
lib ( this is the Cake lib folder)
tests
Test (this follows the Cake convention)
【问题讨论】:
标签: cakephp jenkins continuous-integration code-coverage