Using Hudson/Post-initialization script

From Eclipsepedia

< Using Hudson
Revision as of 14:33, 22 March 2013 by Scott.fisher.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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();