Adds a wrapping step called failingTimeout which takes the closure given to it and passes it to a timeout step.
If the timeout is exceeded, the exception is caught, and converted to an error if it is timeout, otherwise the error is rethrown.
This allows a timeout to fail a job rather than abort it.
Adds a wrapping step called failingTimeout which takes the closure given to it and passes it to a timeout step. If the timeout is exceeded, the exception is caught, and converted to an error if it is timeout, otherwise the error is rethrown. This allows a timeout to fail a job rather than abort it.