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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubernetesEngineBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description KubernetesEngineBuilder()
Constructs a newKubernetesEngineBuilder
.
-
Method Summary
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KubernetesEngineBuilder
@DataBoundConstructor public KubernetesEngineBuilder()
Constructs a newKubernetesEngineBuilder
.
-
-
Method Detail
-
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 interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classBuilder
-
-