我正在尝试在TFS构建服务器中运行Grunt Tests。当我手动使用命令提示符运行Grunt测试时,测试成功。但是,当我尝试使用invoke-process
步骤运行Grunt测试时,Grunt测试失败,我收到以下错误:
[4mRunning "karma:unit" (karma) task[24m
[32mINFO [launcher]: [39mStarting browser Chrome
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[32mINFO [launcher]: [39mTrying to start Chrome again (1/2).
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[32mINFO [launcher]: [39mTrying to start Chrome again (2/2).
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[31mERROR [launcher]: [39mChrome failed 2 times (timeout). Giving up.
[33mWarning: Task "karma:unit" failed. Use --force to continue.[39m
[31mAborted due to warnings.
Execution Time (2014-05-13 23:25:47 UTC)
karma:unit 600.7s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Total 602.9s
有谁能告诉我为什么我在这里收到错误?
答案 0 :(得分:0)
您必须运行TFS Build服务交互模式才能从中启动UI。