How to Abort the job if its fails in jenkins?

wrap everything in a timeout step

1 Like