Stopping nightly builds in order to start the next night

Hi, we're using Teamcity to schedule our nightly build and test run. Unfortunately, a test run takes more than 24hrs to run (4-5 days, for a complete run). Towards the end of a release cycle we'll leave them to run to completion, but at the start of the cycle we just run for a day and the rebuild to include any changes that day (the most important tests are obviously run first with long-running robustness and performance tests being what we miss out on).  

Is there a way to automatically kill off the existing run (and processes it's spawned, it'll be in a python process managing our test run called from the agent) in order to start the next (scheduled) run?

Please sign in to leave a comment.