public abstract class AbstractDockerAgent<D extends AbstractDockerAgent<D>>
extends org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<D>
Modifier and Type | Field and Description |
---|---|
protected String |
args |
protected String |
customWorkspace |
protected String |
label |
protected String |
registryCredentialsId |
protected String |
registryUrl |
protected boolean |
reuseNode |
Constructor and Description |
---|
AbstractDockerAgent() |
Modifier and Type | Method and Description |
---|---|
String |
getArgs() |
String |
getCustomWorkspace() |
String |
getLabel() |
String |
getRegistryCredentialsId() |
String |
getRegistryUrl() |
boolean |
getReuseNode() |
void |
setArgs(String args) |
void |
setCustomWorkspace(String customWorkspace) |
void |
setLabel(String label) |
void |
setRegistryCredentialsId(String registryCredentialsId) |
void |
setRegistryUrl(String registryUrl) |
void |
setReuseNode(boolean reuseNode) |
getScript, hasScmContext, isDoCheckout, isInStage, setDoCheckout, setInStage
protected String label
protected String args
protected String registryUrl
protected String registryCredentialsId
protected String customWorkspace
protected boolean reuseNode
@DataBoundSetter public void setRegistryUrl(String registryUrl)
@DataBoundSetter public void setRegistryCredentialsId(String registryCredentialsId)
public boolean getReuseNode()
@DataBoundSetter public void setReuseNode(boolean reuseNode)
@CheckForNull public String getLabel()
@DataBoundSetter public void setLabel(String label)
@CheckForNull public String getCustomWorkspace()
@DataBoundSetter public void setCustomWorkspace(String customWorkspace)
@CheckForNull public String getArgs()
@DataBoundSetter public void setArgs(String args)
Copyright © 2016–2017. All rights reserved.