Timeout on a Build Step of Jenkins

rohits picture rohits · Sep 2, 2012 · Viewed 76.8k times · Source

In Jenkins, is there a way to give different timeouts to each or selected build step?
Build-time plugin out gives functionality of timeout "Abort the build if it's stuck" on complete project, what I need is to give different timeouts for each step. This way I can make my process more efficient.

Answer

JESii picture JESii · Oct 26, 2017

As of current versions of Jenkins, this can be done. Hit 'Configure', then select the 'Build Environment' tab, and then set your timeout.

Here's an screenshot: enter image description here