public class DefaultDockerProvisionerFactory extends DockerProvisionerFactory
Modifier and Type | Class and Description |
---|---|
static class |
DefaultDockerProvisionerFactory.DescriptorImpl |
Constructor and Description |
---|
DefaultDockerProvisionerFactory(DockerDriverFactory dockerDriverFactory) |
Modifier and Type | Method and Description |
---|---|
DockerProvisioner |
createProvisionerForClassicJob(hudson.model.Job job,
ContainerSetDefinition spec) |
DockerProvisioner |
createProvisionerForPipeline(hudson.model.Job job,
ContainerSetDefinition spec) |
DockerDriverFactory |
getDockerDriverFactory() |
String |
getRemotingImage() |
String |
getScmImage() |
protected void |
prepareWorkspace(hudson.model.Job job,
ContainersContext context) |
void |
setRemotingImage(String remotingImage) |
void |
setScmImage(String scmImage) |
canBeUsedAsMainContainer, canBeUsedAsSideContainer
@DataBoundConstructor public DefaultDockerProvisionerFactory(DockerDriverFactory dockerDriverFactory)
public DockerDriverFactory getDockerDriverFactory()
public String getScmImage()
public String getRemotingImage()
@DataBoundSetter public void setScmImage(String scmImage)
@DataBoundSetter public void setRemotingImage(String remotingImage)
protected void prepareWorkspace(hudson.model.Job job, ContainersContext context)
public DockerProvisioner createProvisionerForClassicJob(hudson.model.Job job, ContainerSetDefinition spec) throws IOException, InterruptedException
createProvisionerForClassicJob
in class DockerProvisionerFactory
IOException
InterruptedException
public DockerProvisioner createProvisionerForPipeline(hudson.model.Job job, ContainerSetDefinition spec) throws IOException, InterruptedException
createProvisionerForPipeline
in class DockerProvisionerFactory
IOException
InterruptedException
Copyright © 2016–2017. All rights reserved.