Class KubectlBuildStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class KubectlBuildStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Author:
    Max Laverse
    • Field Detail

      • serverUrl

        @DataBoundSetter
        public String serverUrl
      • credentialsId

        @DataBoundSetter
        public String credentialsId
      • caCertificate

        @DataBoundSetter
        public String caCertificate
      • contextName

        @DataBoundSetter
        public String contextName
      • clusterName

        @DataBoundSetter
        public String clusterName
      • namespace

        @DataBoundSetter
        public String namespace
      • restrictKubeConfigAccess

        @DataBoundSetter
        public Boolean restrictKubeConfigAccess
    • Constructor Detail

      • KubectlBuildStep

        @DataBoundConstructor
        public KubectlBuildStep()
    • Method Detail

      • start

        public final 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