public class PowerOn extends VSphereBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
PowerOn.PowerOnDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
vsphere
Constructor and Description |
---|
PowerOn(String vm,
int timeoutInSeconds) |
Modifier and Type | Method and Description |
---|---|
String |
getIP() |
int |
getTimeoutInSeconds() |
String |
getVm() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
all, allowDelete, getDescriptor, getVsphere, setVsphere
@DataBoundConstructor public PowerOn(String vm, int timeoutInSeconds) throws VSphereException
VSphereException
public String getVm()
public int getTimeoutInSeconds()
public String getIP()
getIP
in class VSphereBuildStep
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.