public class NodePoolJDKScriptInstaller extends NodePoolJDKInstaller
| Constructor and Description |
|---|
NodePoolJDKScriptInstaller(String jdkInstallationScript,
String jdkHome)
Creates a new Ubuntu OpenJDK Headless installer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaHome()
Returns the Java home folder.
|
String |
getJdkInstallationScript()
Returns the JDK installation script for this installer.
|
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, warnpublic String getJdkInstallationScript()
public String getJavaHome()
getJavaHome in class NodePoolJDKInstallerpublic 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 NodePoolJDKInstallernode - 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.