Class GenericBuildStep

java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
org.jenkinsci.plugins.kubernetes.cli.GenericBuildStep
All Implemented Interfaces:
Serializable

public class GenericBuildStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GenericBuildStep(List<KubectlCredential> credentials, Boolean restrictKubeConfigAccess, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
    GenericBuildStep(List<KubectlCredential> credentials, org.jenkinsci.plugins.workflow.steps.StepContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    void
    stop(Throwable cause)

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl

    inject, onResume

    Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution

    acceptAll, acceptAll, applyAll, applyAll, blocksRestart, getContext, getStatus, getStatusBounded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenericBuildStep

      public GenericBuildStep(List<KubectlCredential> credentials, org.jenkinsci.plugins.workflow.steps.StepContext context)
    • GenericBuildStep

      public GenericBuildStep(List<KubectlCredential> credentials, Boolean restrictKubeConfigAccess, org.jenkinsci.plugins.workflow.steps.StepContext context)
  • Method Details

    • start

      public boolean start() throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.StepExecution
      Throws:
      Exception
    • stop

      public void stop(@NonNull Throwable cause) throws Exception
      Overrides:
      stop in class org.jenkinsci.plugins.workflow.steps.StepExecution
      Throws:
      Exception