public class ConvertToVm extends VSphereBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
ConvertToVm.ConvertToVmDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
vsphere
Constructor and Description |
---|
ConvertToVm(String template,
String resourcePool,
String cluster) |
Modifier and Type | Method and Description |
---|---|
String |
getCluster() |
String |
getResourcePool() |
String |
getTemplate() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
all, allowDelete, getDescriptor, getIP, getVsphere, setVsphere
@DataBoundConstructor public ConvertToVm(String template, String resourcePool, String cluster) throws VSphereException
VSphereException
public String getTemplate()
public String getCluster()
public String getResourcePool()
public void perform(@NonNull Run<?,?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
perform
in class VSphereBuildStep
InterruptedException
IOException
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform
in class VSphereBuildStep
Copyright © 2016–2022. All rights reserved.