Package com.parallels.jenkins
Class CloneProvisioningConfig
java.lang.Object
hudson.model.AbstractDescribableImpl<ProvisioningConfig>
com.parallels.jenkins.ProvisioningConfig
com.parallels.jenkins.CloneProvisioningConfig
- All Implemented Interfaces:
Describable<ProvisioningConfig>,Serializable
Provisioning config for clone mode: a new VM is cloned from an
existing base VM registered in the prl-devops-service host.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstruewhen the fields required for this mode are configured.provision(String cloudName, AgentTemplate template, Label label, PrlDevopsApiClient apiClient, Duration timeout, Duration pollInterval, ExecutorService executor) Provisions one VM for the given label and returns the planned Jenkins node.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
CloneProvisioningConfig
-
-
Method Details
-
getBaseVmName
-
canProvision
public boolean canProvision()Description copied from class:ProvisioningConfigReturnstruewhen the fields required for this mode are configured.- Specified by:
canProvisionin classProvisioningConfig
-
provision
public PrlDevopsPlannedNode provision(String cloudName, AgentTemplate template, Label label, PrlDevopsApiClient apiClient, Duration timeout, Duration pollInterval, ExecutorService executor) throws PrlApiException Description copied from class:ProvisioningConfigProvisions one VM for the given label and returns the planned Jenkins node.- Specified by:
provisionin classProvisioningConfig- Throws:
PrlApiException
-