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?
Please see/vote for http://youtrack.jetbrains.net/issue/TW-3154 and related requests
Just restart the TeamCity WebServer windows service. You shouldn't need to restart your whole machine.
精彩评论