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

According to the documentation, there is no separate status for timeouts, only success , failure , cancelled , or skipped for steps: steps context

And success , failure , or cancelled for jobs: job context