public class ConvertToTemplate extends VSphereBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ConvertToTemplate.ConvertToTemplateDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonvsphere| Constructor and Description |
|---|
ConvertToTemplate(String vm,
boolean force) |
| Modifier and Type | Method and Description |
|---|---|
String |
getVm() |
boolean |
isForce() |
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 ConvertToTemplate(String vm, boolean force) throws VSphereException
VSphereExceptionpublic String getVm()
public boolean isForce()
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.