This was originally written by Zombie Feynman (#1886944). I honestly can't remember where I got it from (and I can't find it here), but I've made a few changes to it myself and found it to be quiet useful.
After coming back from a brief vacation, I found that the builds have moved to Jenkins...