In case anyone else stumbles across this while trying to get build timeouts to work ...

1. Simply turning on "Abort the build if it's stuck" is not enough. You also need to add a Timeout Action to Abort the build.
2. The minimum build timeout is 3 minutes, even if you put 1 as the configuration setting.

Now that I know this, my timeouts are working great. But before I knew #1 I couldn't understand why my timeout wasn't working, and then when I created a dummy project to sleep for two minutes and timeout after one minute, #2 tripped me up.

IMHO both of these are confusing – I think "Abort the build" should be the default action if none is specified, and you should be able to set any timeout limit you want (preferably in seconds, not minutes).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to