public final class JenkinsUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static jenkins.model.Jenkins |
getInstance()
Gets the Jenkins singleton.
|
static boolean |
isPluginInstalled(String shortName)
Returns whether the specified plug-in is installed.
|
public static jenkins.model.Jenkins getInstance()
IllegalStateException - Jenkins has not been started, or was already shut downpublic static boolean isPluginInstalled(String shortName)
shortName - the plug-in to checktrue if the specified plug-in is installed,
false if not.Copyright © 2016–2020 Diabol AB. All rights reserved.