How to identify that build failed because of timeout

Is there a way to identify in a later step which runs on failure that the build failed because of timeout of a build step or timeout of the whole job ?

1 Like