Package io.jenkins.docker.pipeline
Class DockerAgent
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<T>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<A>
-
- org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<DockerAgent>
-
- io.jenkins.docker.pipeline.DockerAgent
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<DockerAgent>
,Serializable
public class DockerAgent extends org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<DockerAgent>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerAgent.DescriptorImpl
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent
org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent.CheckoutScriptAllowlist
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DockerAgent(String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAsArgs()
DockerComputerConnector
getConnector()
String
getCredentialsId()
String
getDockerHost()
String
getImage()
String
getRemoteFs()
void
setConnector(DockerComputerConnector connector)
void
setCredentialsId(String credentialsId)
void
setDockerHost(String dockerHost)
void
setRemoteFs(String remoteFs)
-
-
-
Constructor Detail
-
DockerAgent
@DataBoundConstructor public DockerAgent(String image)
-
-
Method Detail
-
getImage
public String getImage()
-
getDockerHost
public String getDockerHost()
-
setDockerHost
@DataBoundSetter public void setDockerHost(String dockerHost)
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
getRemoteFs
public String getRemoteFs()
-
setRemoteFs
@DataBoundSetter public void setRemoteFs(String remoteFs)
-
getConnector
public DockerComputerConnector getConnector()
-
setConnector
@DataBoundSetter public void setConnector(DockerComputerConnector connector)
-
-