hudson.tools
Class ZipExtractionInstaller
java.lang.Object
hudson.tools.ToolInstaller
hudson.tools.ZipExtractionInstaller
- All Implemented Interfaces:
- ExtensionPoint, Describable<ToolInstaller>
public class ZipExtractionInstaller
- extends ToolInstaller
Installs a tool into the Hudson working area by downloading and unpacking a ZIP file.
- Since:
- 1.305
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipExtractionInstaller
@DataBoundConstructor
public ZipExtractionInstaller(String label,
String url,
String subdir)
getUrl
public String getUrl()
getSubdir
public String getSubdir()
performInstallation
public FilePath performInstallation(ToolInstallation tool,
Node node,
TaskListener log)
throws IOException,
InterruptedException
- Description copied from class:
ToolInstaller
- Ensure that the configured tool is really installed.
If it is already installed, do nothing.
Called only if
ToolInstaller.appliesTo(Node)
are true.
- Specified by:
performInstallation
in class ToolInstaller
- Parameters:
tool
- the tool being installednode
- the computer on which to install the toollog
- any status messages produced by the installation go here
- Returns:
- the (directory) path at which the tool can be found,
typically coming from
ToolInstaller.preferredLocation(hudson.tools.ToolInstallation, hudson.model.Node)
- Throws:
IOException
- if installation fails
InterruptedException
- if communication with a slave is interrupted
Copyright © 2004-2013. All Rights Reserved.