public class PackerInstallation extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<PackerInstallation>, hudson.slaves.NodeSpecific<PackerInstallation>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
PackerInstallation.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
UNIX_PACKER_COMMAND |
static String |
WINDOWS_PACKER_COMMAND |
| Constructor and Description |
|---|
PackerInstallation(String name,
String home,
String params,
net.sf.json.JSONObject templateMode,
List<PackerFileEntry> fileEntries,
List<? extends hudson.tools.ToolProperty<?>> properties) |
| Modifier and Type | Method and Description |
|---|---|
PackerInstallation |
forEnvironment(hudson.EnvVars environment) |
PackerInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
String |
getExecutable(hudson.Launcher launcher) |
protected File |
getExeFile() |
List<PackerFileEntry> |
getFileEntries() |
String |
getHome() |
String |
getJsonTemplate() |
String |
getJsonTemplateText() |
String |
getParams() |
String |
getTemplateMode() |
boolean |
isFileTemplate() |
boolean |
isTextTemplate() |
public static final String UNIX_PACKER_COMMAND
public static final String WINDOWS_PACKER_COMMAND
public String getHome()
getHome in class hudson.tools.ToolInstallationpublic List<PackerFileEntry> getFileEntries()
public String getParams()
public String getJsonTemplate()
public String getJsonTemplateText()
public String getTemplateMode()
public boolean isFileTemplate()
public boolean isTextTemplate()
public PackerInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<PackerInstallation>public PackerInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<PackerInstallation>IOExceptionInterruptedExceptionpublic String getExecutable(hudson.Launcher launcher) throws InterruptedException, IOException
InterruptedExceptionIOExceptionprotected File getExeFile()
Copyright © 2004-2015. All Rights Reserved.