com.cloudbees.jenkins.plugins.okidocki
Class DockerfileImageSelector

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<DockerImageSelector>
      extended by com.cloudbees.jenkins.plugins.okidocki.DockerImageSelector
          extended by com.cloudbees.jenkins.plugins.okidocki.DockerfileImageSelector
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<DockerImageSelector>

public class DockerfileImageSelector
extends DockerImageSelector

Author:
Nicolas De Loof

Nested Class Summary
static class DockerfileImageSelector.ComputeDockerfileChecksum
           
static class DockerfileImageSelector.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
DockerfileImageSelector(String contextPath)
           
 
Method Summary
 String getContextPath()
           
 String prepareDockerImage(Docker docker, hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockerfileImageSelector

@DataBoundConstructor
public DockerfileImageSelector(String contextPath)
Method Detail

prepareDockerImage

public String prepareDockerImage(Docker docker,
                                 hudson.model.AbstractBuild build,
                                 hudson.model.TaskListener listener)
                          throws IOException,
                                 InterruptedException
Specified by:
prepareDockerImage in class DockerImageSelector
Throws:
IOException
InterruptedException

getContextPath

public String getContextPath()


Copyright © 2004-2014. All Rights Reserved.