Class PodTemplateStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.csanchez.jenkins.plugins.kubernetes.pipeline.PodTemplateStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class PodTemplateStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
See Also:
  • Constructor Details

    • PodTemplateStep

      @DataBoundConstructor public PodTemplateStep()
  • Method Details

    • getLabel

      public String getLabel()
    • setLabel

      @DataBoundSetter public void setLabel(@CheckForNull String label)
    • getName

      @CheckForNull public String getName()
    • setName

      @DataBoundSetter public void setName(@CheckForNull String name)
    • getNamespace

      @CheckForNull public String getNamespace()
    • setNamespace

      @DataBoundSetter public void setNamespace(@CheckForNull String namespace)
    • getCloud

      @CheckForNull public String getCloud()
    • setCloud

      @DataBoundSetter public void setCloud(@CheckForNull String cloud)
    • getInheritFrom

      @CheckForNull public String getInheritFrom()
    • setInheritFrom

      @DataBoundSetter public void setInheritFrom(@CheckForNull String inheritFrom)
    • isAgentInjection

      public boolean isAgentInjection()
    • setAgentInjection

      @DataBoundSetter public void setAgentInjection(boolean agentInjection)
    • getAgentContainer

      @CheckForNull public String getAgentContainer()
    • setAgentContainer

      @DataBoundSetter public void setAgentContainer(@CheckForNull String agentContainer)
    • getContainers

      public List<ContainerTemplate> getContainers()
    • setContainers

      @DataBoundSetter public void setContainers(List<ContainerTemplate> containers)
    • getEnvVars

      public List<TemplateEnvVar> getEnvVars()
    • setEnvVars

      @DataBoundSetter public void setEnvVars(List<TemplateEnvVar> envVars)
    • getYamlMergeStrategy

      @CheckForNull public YamlMergeStrategy getYamlMergeStrategy()
    • setYamlMergeStrategy

      @DataBoundSetter public void setYamlMergeStrategy(YamlMergeStrategy yamlMergeStrategy)
    • getVolumes

      public List<PodVolume> getVolumes()
    • setVolumes

      @DataBoundSetter public void setVolumes(List<PodVolume> volumes)
    • getWorkspaceVolume

      @CheckForNull public WorkspaceVolume getWorkspaceVolume()
    • setWorkspaceVolume

      @DataBoundSetter public void setWorkspaceVolume(@CheckForNull WorkspaceVolume workspaceVolume)
    • getInstanceCap

      public Integer getInstanceCap()
    • setInstanceCap

      @DataBoundSetter public void setInstanceCap(@CheckForNull Integer instanceCap)
    • getIdleMinutes

      public int getIdleMinutes()
    • setIdleMinutes

      @DataBoundSetter public void setIdleMinutes(@CheckForNull int idleMinutes)
    • getSlaveConnectTimeout

      @CheckForNull public int getSlaveConnectTimeout()
    • setSlaveConnectTimeout

      @DataBoundSetter public void setSlaveConnectTimeout(@CheckForNull int slaveConnectTimeout)
    • getActiveDeadlineSeconds

      @CheckForNull public int getActiveDeadlineSeconds()
    • setActiveDeadlineSeconds

      @DataBoundSetter public void setActiveDeadlineSeconds(@CheckForNull int activeDeadlineSeconds)
    • getHostNetwork

      public Boolean getHostNetwork()
    • setHostNetwork

      @DataBoundSetter public void setHostNetwork(boolean hostNetwork)
    • getServiceAccount

      @CheckForNull public String getServiceAccount()
    • setServiceAccount

      @DataBoundSetter public void setServiceAccount(@CheckForNull String serviceAccount)
    • getSchedulerName

      @CheckForNull public String getSchedulerName()
    • setSchedulerName

      @DataBoundSetter public void setSchedulerName(@CheckForNull String schedulerName)
    • getNodeSelector

      @CheckForNull public String getNodeSelector()
    • setNodeSelector

      @DataBoundSetter public void setNodeSelector(@CheckForNull String nodeSelector)
    • getNodeUsageMode

      public Node.Mode getNodeUsageMode()
    • setNodeUsageMode

      public void setNodeUsageMode(Node.Mode nodeUsageMode)
    • setNodeUsageMode

      @DataBoundSetter public void setNodeUsageMode(String nodeUsageMode)
    • getWorkingDir

      public String getWorkingDir()
    • setWorkingDir

      @DataBoundSetter public void setWorkingDir(String workingDir)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getAnnotations

      public List<PodAnnotation> getAnnotations()
    • setAnnotations

      @DataBoundSetter public void setAnnotations(List<PodAnnotation> annotations)
    • getImagePullSecrets

      public List<String> getImagePullSecrets()
    • setImagePullSecrets

      @DataBoundSetter public void setImagePullSecrets(List<String> imagePullSecrets)
    • getYaml

      @CheckForNull public String getYaml()
    • setYaml

      @DataBoundSetter public void setYaml(@CheckForNull String yaml)
    • getPodRetention

      @CheckForNull public PodRetention getPodRetention()
    • setPodRetention

      @DataBoundSetter public void setPodRetention(@CheckForNull PodRetention podRetention)
    • isInheritYamlMergeStrategy

      public boolean isInheritYamlMergeStrategy()
    • setInheritYamlMergeStrategy

      @DataBoundSetter public void setInheritYamlMergeStrategy(boolean inheritYamlMergeStrategy)
    • isShowRawYaml

      public boolean isShowRawYaml()
    • setShowRawYaml

      @DataBoundSetter public void setShowRawYaml(boolean showRawYaml)
    • getRunAsUser

      public String getRunAsUser()
    • setRunAsUser

      @DataBoundSetter public void setRunAsUser(String runAsUser)
    • getRunAsGroup

      public String getRunAsGroup()
    • setRunAsGroup

      @DataBoundSetter public void setRunAsGroup(String runAsGroup)
    • getSupplementalGroups

      @CheckForNull public String getSupplementalGroups()
    • setSupplementalGroups

      @DataBoundSetter public void setSupplementalGroups(@CheckForNull String supplementalGroups)