Class AbstractDockerAgent<D extends AbstractDockerAgent<D>>

    • Field Detail

      • label

        protected String label
      • registryUrl

        protected String registryUrl
      • registryCredentialsId

        protected String registryCredentialsId
      • customWorkspace

        protected String customWorkspace
      • reuseNode

        protected boolean reuseNode
      • containerPerStageRoot

        protected boolean containerPerStageRoot
    • Constructor Detail

      • AbstractDockerAgent

        public AbstractDockerAgent()
    • Method Detail

      • 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>>