Package sh.createos.jenkins.sandbox
Class CreateOSSandboxStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
sh.createos.jenkins.sandbox.CreateOSSandboxStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>,Serializable
public class CreateOSSandboxStep
extends org.jenkinsci.plugins.workflow.steps.Step
implements Serializable
Pipeline block step that creates a CreateOS sandbox for exec-mode child steps.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescriptor for the createosSandbox Pipeline step.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionCreates a Pipeline step configured by databound setters. -
Method Summary
Modifier and TypeMethodDescriptiongetCloud()intgetDisks()default StringgetShape()voidvoidsetDiskMiB(int diskMiB) voidsetDisks(List<CreateOSDiskAttachment> disks) voidsetInheritFrom(String inheritFrom) voidsetNetworks(List<String> networks) voidvoidvoidorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
CreateOSSandboxStep
@DataBoundConstructor public CreateOSSandboxStep()Creates a Pipeline step configured by databound setters.
-
-
Method Details
-
getCloud
-
setCloud
-
getInheritFrom
-
setInheritFrom
-
getShape
-
setShape
-
getRootfs
-
setRootfs
-
getRegion
-
setRegion
-
getDiskMiB
public int getDiskMiB() -
setDiskMiB
@DataBoundSetter public void setDiskMiB(int diskMiB) -
getNetworks
-
setNetworks
-
getDisks
-
setDisks
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step
-
getRemoteFs
-