The build timeout plugin only looks at the time taken by the "Build Steps". So if it takes 3 minutes to check out code from your repository, that would not be included. Or if it takes 10 minutes to archive the artifacts, that's not counted either because it's post-build. The timestamps plugin can help you see where the time is spent during the build.
Eric
On Apr 12, 2016 6:10 PM, "Hector Magnanao" <hector....@sap.com> wrote:
>
> I'm trying to use the abort build if it's stuck option in the build section of my Jenkins job. I set the 'Time out Strategy' to 'Absolute' and I set the timeout option to 5 minutes for a job that I know takes more than 5 minutes. And I set the action to Abort the Build. And my job goes past 5 minutes and it doesn't abort. Can you tell me what I could be doing wrong ?
>
> I'm using Jenkins 1.625.2 on Windows
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/00860c09-3678-49bb-9eda-79b6e7dfca78%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.