thoughtworks/cruisecontrol.rb — pull request #76 by javanthropus (2011-10-21 21:02:24+00:00)
Title: Simplify locating the artifacts for the most recent successful build of a project

Merging these changes will add a faux build ID named `latest_successful` for projects that when used will trigger a redirect to the build ID for the given project that was most recently completed successfully. This redirection works for any sub-paths of the build, including artifacts. 404 results are returned for invalid projects and projects without any successful builds.

This makes it easy to share a static link with others that will always point them to the latest build for a project so that they can make use of any relevant artifacts.