如何停止“无法停止”基于 TeamCity 构建
在尝试停止 TeamCity 上的构建后,我偶尔会收到“无法停止”状态。我希望在构建代理上终止我的构建过程可以解决问题,但它不起作用。在构建计算机上停止 TeamCity 代理进程也没有帮助。重新启动构建代理(即计算机)可以解决问题,但在机器启动后需要 2-3 分钟。看来 TeamCity 服务器本身认为我的构建仍在运行。
有没有更好的方法来停止这些构建?或者也许有一些信息可以解释这个逻辑?
I get "cannot stop" status once in a while after trying to stop builds on TeamCity. I would expect that killing my build process on build agent would do the trick, but it doesn't work. Stopping TeamCity agent process on the build machine doesn't help either. Restarting build agent (i.e. computer) does the trick, but it takes plus 2-3min after the machine has started. It looks like TeamCity server itself thinks that my build is still running.
Is there a better way to stop those builds? Or maybe there is some info somewhere that could explain this logic?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请查看/投票http://youtrack.jetbrains.net/issue/TW-3154 及相关要求
Please see/vote for http://youtrack.jetbrains.net/issue/TW-3154 and related requests
只需重新启动 TeamCity WebServer Windows 服务即可。
您不需要重新启动整个机器。
Just restart the TeamCity WebServer windows service.
You shouldn't need to restart your whole machine.