这是一个内部构建服务器。我们在Window Server 2012上运行VSO构建代理,并在其上安装了IE 11。
VSO构建代理正在“网络服务”用户下运行。
在单元测试构建步骤中,Karma能够启动chrome而不是IE。
错误
2017-06-14T18:10:38.5588660Z [33m14 06 2017 14:10:38.557:WARN [launcher]: [39mIE have not captured in 60000 ms, killing.
2017-06-14T18:10:38.7008770Z [32m14 06 2017 14:10:38.699:INFO [launcher]: [39mTrying to start IE again (1/2).
2017-06-14T18:11:38.7030837Z [33m14 06 2017 14:11:38.702:WARN [launcher]: [39mIE have not captured in 60000 ms, killing.
2017-06-14T18:11:38.8830954Z [32m14 06 2017 14:11:38.882:INFO [launcher]: [39mTrying to start IE again (2/2).
2017-06-14T18:12:38.8953023Z [33m14 06 2017 14:12:38.884:WARN [launcher]: [39mIE have not captured in 60000 ms, killing.
2017-06-14T18:12:39.0743168Z [31m14 06 2017 14:12:39.074:ERROR [launcher]: [39mIE failed 2 times (timeout). Giving up.
我甚至在Karma fails to launch IE on Team City build
中尝试了这个建议仍然没有运气。我错过了什么吗?
答案 0 :(得分:0)
简单的方法是您可以更改构建服务帐户(例如您的帐户):
答案 1 :(得分:0)
您需要在interactive mode而不是服务模式下运行构建代理。