Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Initialization Script

Jenkins can execute initialization scripts written in Groovy if they are present during start up. See Groovy Hook Script for details. The hook name for this event is "init".

Those executions happen at the very end of the initialization, and therefore this can be used to pre-configure Jenkins for a particular OEM situation.

While one can always write a plugin to participate in the initialization of Jenkins, this script-based approach can be useful as it doesn't require any compilation and packaging.

  • No labels