@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class JenkinsHelper extends Object
Jenkins instances.| Modifier and Type | Method and Description |
|---|---|
static jenkins.model.Jenkins |
getInstanceOrFail()
Retrieves the
Jenkins instance. |
@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static jenkins.model.Jenkins getInstanceOrFail() throws IllegalStateException
Jenkins instance.IllegalStateException - Jenkins instance is not readyCopyright © 2016–2022. All rights reserved.