com.cloudbees.dockerpublish
Class DockerBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.cloudbees.dockerpublish.DockerBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class DockerBuilder
- extends hudson.tasks.Builder
Plugin to build and publish docker projects to the docker registry/index.
This can optionally push, and bust cache.
- Author:
- Michael Neale
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
DockerBuilder(String repoName,
String repoTag,
boolean skipPush,
boolean noCache,
boolean skipBuild,
String dockerfilePath)
See src/main/resources/hudson/plugins/hello_world/DockerBuilder/config.jelly
for the actual HTML fragment for the configuration screen. |
| Methods inherited from class hudson.tasks.Builder |
all, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DockerBuilder
@DataBoundConstructor
public DockerBuilder(String repoName,
String repoTag,
boolean skipPush,
boolean noCache,
boolean skipBuild,
String dockerfilePath)
- See src/main/resources/hudson/plugins/hello_world/DockerBuilder/config.jelly
for the actual HTML fragment for the configuration screen.
getRepoName
public String getRepoName()
getRepoTag
public String getRepoTag()
isSkipPush
public boolean isSkipPush()
isSkipBuild
public boolean isSkipBuild()
isNoCache
public boolean isNoCache()
getDockerfilePath
public String getDockerfilePath()
perform
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
getDescriptor
public DockerBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>- Overrides:
getDescriptor in class hudson.tasks.Builder
Copyright © 2004-2014. All Rights Reserved.