public class PullDockerImageSelector extends DockerImageSelector
Modifier and Type | Class and Description |
---|---|
static class |
PullDockerImageSelector.DescriptorImpl |
Constructor and Description |
---|
PullDockerImageSelector(String image) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getDockerImagesUsedByJob(hudson.model.Job<?,?> job) |
String |
prepareDockerImage(Docker docker,
hudson.model.AbstractBuild build,
hudson.model.TaskListener listener,
boolean forcePull) |
public String image
@DataBoundConstructor public PullDockerImageSelector(String image)
public String prepareDockerImage(Docker docker, hudson.model.AbstractBuild build, hudson.model.TaskListener listener, boolean forcePull) throws IOException, InterruptedException
prepareDockerImage
in class DockerImageSelector
IOException
InterruptedException
public Collection<String> getDockerImagesUsedByJob(hudson.model.Job<?,?> job)
getDockerImagesUsedByJob
in class DockerImageSelector
Copyright © 2016–2018. All rights reserved.