public class ConvertToVm extends VSphereBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ConvertToVm.ConvertToVmDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonvsphere| 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
VSphereExceptionpublic 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 VSphereBuildStepInterruptedExceptionIOExceptionpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform in class VSphereBuildStepCopyright © 2016–2022. All rights reserved.