Disable hanging build cancellation / execution timeout for a specific already-running job?

Hi - we have a specific Build Configuration that runs a test program that will occasionally hang. It happens infrequently enough that it's very difficult to replicate locally, but frequently enough that it's a nuisance in CI.  In general, we want to make use of the automatic hanging build detection, to cancel these builds before they waste too much time, and they can be retried.

However, occasionally I will see a hanging build "live", and want to investigate it.  Unfortuantely, it's then a race against the clock to get access to the machine, fire up a debugger, etc, before the build is cancelled.  Is there any way to disable the automatic execution timeout cancellation for a specific build, so I can investigate the hanging state at leisure?

1 comment

Hi Paul, 

As far as I am aware, it is not possible to disable the automatic execution timeout cancellation during a build, as this is likely set before the build is started. So the only way forward here seems to set a higher timeout temporarily to allow you to investigate such issues.




Please sign in to leave a comment.