public class BuiltInContainer extends Object implements hudson.model.BuildBadgeAction, hudson.model.EnvironmentContributingAction
| Constructor and Description |
|---|
BuiltInContainer(Docker docker) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindMount(String path) |
void |
bindMount(String hostPath,
String path) |
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
hudson.EnvVars env) |
void |
enable() |
void |
enable(boolean enable) |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getImage() |
List<Integer> |
getPorts() |
Map<Integer,Integer> |
getPortsMap() |
String |
getUrlName() |
Map<String,String> |
getVolumes() |
Map<String,String> |
getVolumes(hudson.model.AbstractBuild build) |
boolean |
isEnabled() |
boolean |
tearDown() |
public BuiltInContainer(Docker docker)
public void enable()
public void enable(boolean enable)
public boolean isEnabled()
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getImage()
public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic boolean tearDown()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
hudson.EnvVars env)
buildEnvVars in interface hudson.model.EnvironmentContributingActionpublic void bindMount(String path)
@Nonnull public Map<String,String> getVolumes(hudson.model.AbstractBuild build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2018. All rights reserved.