public class ReconfigureCpu extends ReconfigureStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ReconfigureCpu.ReconfigureCpuDescriptor |
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonspec, vm, vsphere| Constructor and Description |
|---|
ReconfigureCpu(String cpuCores,
String coresPerSocket) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCoresPerSocket() |
String |
getCpuCores() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
reconfigureCPU(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
all, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, setVirtualMachineConfigSpec, setVM, setVspheregetDescriptor@DataBoundConstructor public ReconfigureCpu(String cpuCores, String coresPerSocket) throws VSphereException
VSphereExceptionpublic String getCpuCores()
public String getCoresPerSocket()
public void perform(@NonNull
Run<?,?> run,
@NonNull
FilePath filePath,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
perform in class ReconfigureStepInterruptedExceptionIOExceptionpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform in class ReconfigureSteppublic boolean reconfigureCPU(Run<?,?> run, Launcher launcher, TaskListener listener) throws VSphereException
VSphereExceptionCopyright © 2016–2022. All rights reserved.