jenkinsci/build-timeout-plugin — pull request #12 by tshibata (2012-11-22 15:29:58+00:00)
Title: Fix elastic timout

About elastic timeout, the help says "the three most recent non-failing builds" but I found it actually takes the oldest three.
It aborts very soon if the build was simple at the beginning.

Since the first entry of Job#getBuilds() is the latest build, BuildTimeoutWrapper#getEffectiveTimeout() just needs to take the first three non-failing builds.
So I fixed.

I'm glad if this fix is applied also on jenkinsci.