vikramvi
vikramvi

Reputation: 3595

Jenkins build is not timing out even when Build Timeout is explicitly mentioned

I've mentioned build timeout in jenkins job as per attached screen shotenter image description here

But even with this setting build is not timing out even after 2 -4 hrs.

I use jenkins job to do GET requests to REST end points. There is a bug with one of the end point which results in response not being sent in required time.

Please clarify how to get time out fixed with jenkins job ?

Thanks & Regards, Vikram

Upvotes: 0

Views: 764

Answers (1)

Mike Nakis
Mike Nakis

Reputation: 61969

The "Abort the build if it's stuck" option is offered by the "Build Timeout Plugin".

According to the documentation of the "Build Timeout Plugin" (https://wiki.jenkins-ci.org) :

[...] depending on how a build hangs, the abort operation might not take effect.

The documentation lists a couple of possible reasons. Make sure you are not affected by one of those reasons. (I cannot tell without seeing a lot more of your configuration and precisely how you place those GET requests.)

Upvotes: 2

Related Questions