Global

Methods

jenkinsNamespace() → {StorageNamespace}

Get the Jenkins Instance namespace.

Returns a StorageNamespace instance that can be used for the Jenkins instance. Note that it is up to the bootstrapping application (e.g. the blueocean-web plugin) to clear the namespace (see StorageNamespace#clear) when it detects that the backend Jenkins instance has changed in some way i.e. a new Jenkins version or a change in plugin configuration.

Source:
See:
Returns:
The storage namespace for the Jenkins instance.
Type
StorageNamespace

localNamespace(name) → {StorageNamespace}

Get a local namespace.

Returns a StorageNamespace instance that can be used to perform operations on values in the namespace.

Use jenkinsNamespace if you want the Storage namespace for the Jenkins instance.

Parameters:
Name Type Description
name string The namespace name.
Source:
See:
Returns:
The storage namespace.
Type
StorageNamespace