Class KubernetesEngineBuilder

java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.google.jenkins.plugins.k8sengine.KubernetesEngineBuilder
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, Serializable, SimpleBuildStep

public class KubernetesEngineBuilder extends Builder implements SimpleBuildStep, Serializable
Provides a build step for publishing build artifacts to a Kubernetes cluster running on GKE.
See Also:
  • Field Details

  • Constructor Details

    • KubernetesEngineBuilder

      @DataBoundConstructor public KubernetesEngineBuilder()
      Constructs a new KubernetesEngineBuilder.
  • Method Details

    • getCredentialsId

      public String getCredentialsId()
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(String credentialsId)
    • getProjectId

      public String getProjectId()
    • setProjectId

      @DataBoundSetter public void setProjectId(String projectId)
    • getZone

      @Deprecated public String getZone()
      Deprecated.
    • setZone

      @Deprecated @DataBoundSetter public void setZone(String zone)
      Deprecated.
    • getLocation

      public String getLocation()
    • setLocation

      @DataBoundSetter public void setLocation(String location)
    • getClusterName

      public String getClusterName()
    • setClusterName

      @DataBoundSetter public void setClusterName(String clusterName)
    • getCluster

      public String getCluster()
    • setCluster

      @DataBoundSetter public void setCluster(String cluster)
    • getNamespace

      public String getNamespace()
    • setNamespace

      @DataBoundSetter public void setNamespace(String namespace)
    • getManifestPattern

      public String getManifestPattern()
    • setManifestPattern

      @DataBoundSetter public void setManifestPattern(String manifestPattern)
    • setVerifyDeployments

      @DataBoundSetter public void setVerifyDeployments(boolean verifyDeployments)
    • isVerifyDeployments

      public boolean isVerifyDeployments()
    • setVerifyServices

      @DataBoundSetter public void setVerifyServices(boolean verifyServices)
    • isVerifyServices

      public boolean isVerifyServices()
    • getVerifyTimeoutInMinutes

      public int getVerifyTimeoutInMinutes()
    • setVerifyTimeoutInMinutes

      @DataBoundSetter public void setVerifyTimeoutInMinutes(int verifyTimeoutInMinutes)
    • isVerboseLogging

      public boolean isVerboseLogging()
    • setVerboseLogging

      @DataBoundSetter public void setVerboseLogging(boolean verboseLogging)
    • perform

      public void perform(@NonNull Run<?,?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • getRequiredMonitorService

      public BuildStepMonitor getRequiredMonitorService()
      Specified by:
      getRequiredMonitorService in interface BuildStep
      Overrides:
      getRequiredMonitorService in class Builder