Class GenericBuildStep

  • All Implemented Interfaces:
    Serializable

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

      • 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 Detail

      • 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