public class NodePoolDebianOpenJDKInstaller extends NodePoolJDKInstaller
Constructor and Description |
---|
NodePoolDebianOpenJDKInstaller()
Creates a new Debian OpenJDK installer.
|
NodePoolDebianOpenJDKInstaller(String label)
Creates a new NodePool JDK 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 NodePoolDebianOpenJDKInstaller()
public NodePoolDebianOpenJDKInstaller(String label)
label
- the label associated with this installerpublic 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.