We have a TeamCity build that runs end to end tests, and every once in a while, for an unclear reason, it gets stuck. So I set a timeout after a certain amount of time and I want it to automatically run again after the timeout occurs.
I know there's a 'Retry Build Trigger' but I want it to retry only on timeout and not on every failure.
Any suggestions?
Extra information that might help:
- The result appears as 'Execution timeout (new)'
- When a timeout occurs the build log writes 'The build %Build-Name% {builId=63608} has been running for more than 100 minutes. Terminating...'