Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

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.

Back to the top