Class GlobalDatabaseConfiguration

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.database.GlobalDatabaseConfiguration
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, Loadable, OnMaster

@Extension(ordinal=-33.0) public class GlobalDatabaseConfiguration extends GlobalConfiguration
Provides the system-wide Database that's open for plugins to store arbitrary information.

If a plugin wishes to store some information globally to RDBMS, and if the data can co-exist with the data from other plugins, use this shared database instance. In cases where a plugin wants to store data in its own database separate from this shared instance, you can do so by using Database directly.

There's also PerItemDatabaseConfiguration, which provides separate database for information local to a specific job.

Author:
Kohsuke Kawaguchi
See Also: