Class KubernetesNodeContext

java.lang.Object
org.csanchez.jenkins.plugins.kubernetes.pipeline.KubernetesNodeContext
All Implemented Interfaces:
Serializable

public class KubernetesNodeContext extends Object implements Serializable
helper class for steps running in a kubernetes `node` context
See Also:
  • Constructor Details

    • KubernetesNodeContext

      public KubernetesNodeContext(@NonNull org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Create new Kubernetes context
      Parameters:
      context - step context, not null
      Throws:
      Exception - if Node context not instance of KubernetesSlave or interrupted.
  • Method Details