public class NodePoolDebianOpenJDKInstaller extends NodePoolJDKInstaller
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Increment this when modifying this class.
|
Constructor and Description |
---|
NodePoolDebianOpenJDKInstaller()
Creates a new Debian OpenJDK installer.
|
NodePoolDebianOpenJDKInstaller(String label,
String jdkHome)
Creates a new Debian OpenJDK installer.
|
Modifier and Type | Method and Description |
---|---|
String |
getJavaHome()
Returns the Java home folder associated with this installation.
|
hudson.FilePath |
performInstallation(hudson.model.Node node,
hudson.model.TaskListener tl,
com.trilead.ssh2.Connection connection)
Ensure that the Java is really installed.
|
executeCommand, executeCommand, fine, getInstallWorkingDir, getTimestamp, info, isJavaInstalled, log, performInstallation, setInstallWorkingDir, warn
public static final long serialVersionUID
public NodePoolDebianOpenJDKInstaller()
public String getJavaHome()
getJavaHome
in class NodePoolJDKInstaller
public hudson.FilePath performInstallation(hudson.model.Node node, hudson.model.TaskListener tl, com.trilead.ssh2.Connection connection) throws IOException, InterruptedException
ToolInstaller.appliesTo(Node)
are true.performInstallation
in class NodePoolJDKInstaller
node
- the computer on which to install the tooltl
- any status messages produced by the installation go hereconnection
- the connection objectToolInstaller.preferredLocation(hudson.tools.ToolInstallation, hudson.model.Node)
IOException
- if installation failsInterruptedException
- if communication with a agent is interruptedCopyright © 2016–2018. All rights reserved.