duandang9434 2013-08-19 08:09
浏览 65
已采纳

TeamCity Tests选项卡未显示在TeamCity 8.0中

I have TeamCity Professional 8.0.2. I set up PHPUnit and Build run succesfully. My problem is the Tests tab doesn't showed up so I can not see what was the tests result.I followed these instructions: http://blog.jetbrains.com/webide/2013/01/continuous-integration-for-php-using-teamcity/

And this is the Build log. if it helps in solution:

[09:32:46]Checking for changes
[09:32:54]Publishing internal    artifacts [09:32:54][Publishing internal artifacts] Sending    build.start.properties.gz file
[09:32:54]Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[09:32:54]Checkout directory: C:\BuildAgent\work\da454545e33b4979
[09:32:54]Updating sources: server side checkout (11s)
[09:32:54][Updating sources] Building incremental patch for VCS root: svn: https://riouxsvn.com/svn/teamcityphp
[09:33:05][Updating sources] Repository sources transferred
[09:33:05][Updating sources] Updating C:\BuildAgent\work\da454545e33b4979
[09:33:05]Step 1/1: Run tests with coverage (Command Line)
[09:33:05][Step 1/1] Starting: C:\BuildAgent\temp\agentTmp\custom_script6386721482072578369.cmd
[09:33:05][Step 1/1] in directory: C:\BuildAgent\work\da454545e33b4979
[09:33:06][Step 1/1] Process exited with code 0
[09:33:06]Publishing internal artifacts
[09:33:06][Publishing internal artifacts] Sending build.finish.properties.gz file
[09:33:06]Publishing artifacts
[09:33:06][Publishing artifacts] Collecting files to publish: [build/release/*7*, unitTests/codeCoverage => coverage.zip]
[09:33:06][Publishing artifacts] Artifacts path 'build/release/*7*' not found
[09:33:06][Publishing artifacts] Artifacts path 'unitTests/codeCoverage' not found
[09:33:06]Build finished
  • 写回答

1条回答 默认 最新

  • dsvs50005 2013-08-19 10:46
    关注

    TeamCity command line runner is a tool to run arbitrary commands, and so it does not track test excution.

    To collect test results, you should add Build Feature: XML Report Processing. Just tell it you have Ant JUnit reports, and point it to proper directory (where PHPUnit stores the results)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 数学的三元一次方程求解
  • ¥20 iqoo11 如何下载安装工程模式
  • ¥15 本题的答案是不是有问题
  • ¥15 关于#r语言#的问题:(svydesign)为什么在一个大的数据集中抽取了一个小数据集
  • ¥15 C++使用Gunplot
  • ¥15 这个电路是如何实现路灯控制器的,原理是什么,怎么求解灯亮起后熄灭的时间如图?
  • ¥15 matlab数字图像处理频率域滤波
  • ¥15 在abaqus做了二维正交切削模型,给刀具添加了超声振动条件后输出切削力为什么比普通切削增大这么多
  • ¥15 ELGamal和paillier计算效率谁快?
  • ¥15 蓝桥杯单片机第十三届第一场,整点继电器吸合,5s后断开出现了问题