public class Deploy extends VSphereBuildStep implements SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
Deploy.DeployDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptorSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonvsphereBUILDERS, PUBLISHERS| Constructor and Description |
|---|
Deploy(String template,
String clone,
boolean linkedClone,
String resourcePool,
String cluster,
String datastore,
String folder,
String customizationSpec,
Integer timeoutInSeconds,
boolean powerOn) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClone() |
String |
getCluster() |
String |
getCustomizationSpec() |
String |
getDatastore() |
String |
getFolder() |
String |
getIP() |
Action |
getProjectAction(AbstractProject<?,?> abstractProject) |
Collection<? extends Action> |
getProjectActions(AbstractProject<?,?> abstractProject) |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getResourcePool() |
String |
getTemplate() |
int |
getTimeoutInSeconds() |
boolean |
isLinkedClone() |
boolean |
isPowerOn() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
prebuild(AbstractBuild<?,?> abstractBuild,
BuildListener buildListener) |
all, allowDelete, getDescriptor, getVsphere, setVsphereclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperform, perform, requiresWorkspace@DataBoundConstructor public Deploy(String template, String clone, boolean linkedClone, String resourcePool, String cluster, String datastore, String folder, String customizationSpec, Integer timeoutInSeconds, boolean powerOn) throws VSphereException
VSphereExceptionpublic String getTemplate()
public String getClone()
public boolean isLinkedClone()
public String getCluster()
public String getResourcePool()
public String getDatastore()
public String getFolder()
public String getCustomizationSpec()
public boolean isPowerOn()
public int getTimeoutInSeconds()
public String getIP()
getIP in class VSphereBuildSteppublic void perform(@NonNull
Run<?,?> run,
@NonNull
FilePath filePath,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
perform in interface SimpleBuildStepperform in class VSphereBuildStepInterruptedExceptionIOExceptionpublic boolean prebuild(AbstractBuild<?,?> abstractBuild, BuildListener buildListener)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform in interface BuildStepperform in class VSphereBuildSteppublic Action getProjectAction(AbstractProject<?,?> abstractProject)
getProjectAction in interface BuildSteppublic Collection<? extends Action> getProjectActions(AbstractProject<?,?> abstractProject)
getProjectActions in interface BuildSteppublic BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildStepCopyright © 2016–2022. All rights reserved.