public class OpenJDKInstaller extends ToolInstaller
#Defaults requiretty User_Alias JENKINS = test Cmnd_Alias OPENJDK = /usr/sbin/alternatives, /usr/bin/yum JENKINS ALL = NOPASSWD: OPENJDK
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenJDKInstaller.DescriptorImpl |
static class |
OpenJDKInstaller.OpenJDKPackage |
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
OPENJDK_BIN |
static String |
OPENJDK_HOME_BIN |
static String |
OPENJDK_HOME_PREFIX |
OpenJDKInstaller.OpenJDKPackage |
openjdkPackage |
tool| Constructor and Description |
|---|
OpenJDKInstaller(OpenJDKInstaller.OpenJDKPackage openjdkPackage) |
| Modifier and Type | Method and Description |
|---|---|
OpenJDKInstaller.OpenJDKPackage |
getPackageName() |
FilePath |
performInstallation(ToolInstallation tool,
Node node,
TaskListener log) |
appliesTo, getDescriptor, getLabel, preferredLocation, setToolpublic static final String OPENJDK_HOME_PREFIX
public static final String OPENJDK_HOME_BIN
public static final String OPENJDK_BIN
public final OpenJDKInstaller.OpenJDKPackage openjdkPackage
@DataBoundConstructor public OpenJDKInstaller(OpenJDKInstaller.OpenJDKPackage openjdkPackage)
public OpenJDKInstaller.OpenJDKPackage getPackageName()
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException
performInstallation in class ToolInstallerIOExceptionInterruptedExceptionCopyright © 2016–2019. All rights reserved.