public class Delete extends VSphereBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
Delete.DeleteDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
vsphere
Constructor and Description |
---|
Delete(String vm,
boolean failOnNoExist) |
Modifier and Type | Method and Description |
---|---|
String |
getVm() |
boolean |
isFailOnNoExist() |
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 Delete(String vm, boolean failOnNoExist) throws VSphereException
VSphereException
public String getVm()
public boolean isFailOnNoExist()
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.