Package io.jenkins.docker.pipeline
Class DockerNodeStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- io.jenkins.docker.pipeline.DockerNodeStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class DockerNodeStep extends org.jenkinsci.plugins.workflow.steps.Step
- Author:
- Nicolas De Loof
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerNodeStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description DockerNodeStep(String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends DockerComputerConnector & Serializable>
TgetConnector()
String
getCredentialsId()
String
getDockerHost()
String
getImage()
String
getRemoteFs()
void
setConnector(DockerComputerConnector connector)
void
setCredentialsId(String credentialsId)
void
setDockerHost(String dockerHost)
void
setRemoteFs(String remoteFs)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
DockerNodeStep
@DataBoundConstructor public DockerNodeStep(String image)
-
-
Method Detail
-
getDockerHost
public String getDockerHost()
-
setDockerHost
@DataBoundSetter public void setDockerHost(String dockerHost)
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
getImage
public String getImage()
-
getRemoteFs
public String getRemoteFs()
-
setRemoteFs
@DataBoundSetter public void setRemoteFs(String remoteFs)
-
getConnector
public <T extends DockerComputerConnector & Serializable> T getConnector()
-
setConnector
@DataBoundSetter public void setConnector(DockerComputerConnector connector)
-
-