Class AbstractDockerAgent<D extends AbstractDockerAgent<D>>

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<A>
org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<D>
org.jenkinsci.plugins.docker.workflow.declarative.AbstractDockerAgent<D>
All Implemented Interfaces:
ExtensionPoint, Describable<D>, Serializable
Direct Known Subclasses:
DockerPipeline, DockerPipelineFromDockerfile

public abstract class AbstractDockerAgent<D extends AbstractDockerAgent<D>> extends org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<D>
See Also:
  • Field Details

    • label

      protected String label
    • args

      protected String args
    • registryUrl

      protected String registryUrl
    • registryCredentialsId

      protected String registryCredentialsId
    • customWorkspace

      protected String customWorkspace
    • reuseNode

      protected boolean reuseNode
    • containerPerStageRoot

      protected boolean containerPerStageRoot
  • Constructor Details

    • AbstractDockerAgent

      public AbstractDockerAgent()
  • Method Details

    • getRegistryUrl

      @Nullable public String getRegistryUrl()
    • setRegistryUrl

      @DataBoundSetter public void setRegistryUrl(String registryUrl)
    • getRegistryCredentialsId

      @Nullable public String getRegistryCredentialsId()
    • setRegistryCredentialsId

      @DataBoundSetter public void setRegistryCredentialsId(String registryCredentialsId)
    • getReuseNode

      public boolean getReuseNode()
    • setReuseNode

      @DataBoundSetter public void setReuseNode(boolean reuseNode)
    • getLabel

      @CheckForNull public String getLabel()
    • setLabel

      @DataBoundSetter public void setLabel(String label)
    • getCustomWorkspace

      @CheckForNull public String getCustomWorkspace()
    • setCustomWorkspace

      @DataBoundSetter public void setCustomWorkspace(String customWorkspace)
    • getArgs

      @CheckForNull public String getArgs()
    • setArgs

      @DataBoundSetter public void setArgs(String args)
    • isContainerPerStageRoot

      public boolean isContainerPerStageRoot()
    • setContainerPerStageRoot

      @DataBoundSetter public void setContainerPerStageRoot(boolean containerPerStageRoot)
    • initialize

      public void initialize(Map<String,org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOption> options, boolean explicitAgentInStage)
      Overrides:
      initialize in class org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<D extends AbstractDockerAgent<D>>
    • reuseRootAgent

      public boolean reuseRootAgent(Map<String,org.jenkinsci.plugins.pipeline.modeldefinition.options.DeclarativeOption> options)
      Overrides:
      reuseRootAgent in class org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent<D extends AbstractDockerAgent<D>>