Using Hudson/Post-initialization script

This article is a stub. It will be expanded as content is migrated from the Hudson-CIWeb site.

You can create a Groovy script file in $HUDSON_HOME/init.groovy to run some additional things right after Hudson starts up. This script can access classes in Hudson and all the plugins. So for example, you can write something like:

import hudson.model.*;

// start in the state that doesn't do any build.
Hudson.instance.doQuietDown();