Class KubernetesAgentErrorCondition

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
org.jenkinsci.plugins.workflow.flow.ErrorCondition
org.csanchez.jenkins.plugins.kubernetes.pipeline.KubernetesAgentErrorCondition
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.flow.ErrorCondition>, Serializable

public class KubernetesAgentErrorCondition extends org.jenkinsci.plugins.workflow.flow.ErrorCondition
Qualifies node blocks associated with KubernetesSlave to be retried if the node was deleted. A more specific version of AgentErrorCondition.
See Also:
  • Constructor Details

    • KubernetesAgentErrorCondition

      @DataBoundConstructor public KubernetesAgentErrorCondition()
  • Method Details

    • isHandleNonKubernetes

      public boolean isHandleNonKubernetes()
    • setHandleNonKubernetes

      @DataBoundSetter public void setHandleNonKubernetes(boolean handleNonKubernetes)
    • test

      public boolean test(@NonNull Throwable t, @CheckForNull org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException
      Specified by:
      test in class org.jenkinsci.plugins.workflow.flow.ErrorCondition
      Throws:
      IOException
      InterruptedException