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
Qualifiesnode
blocks associated withKubernetesSlave
to be retried if the node was deleted. A more specific version ofAgentErrorCondition
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubernetesAgentErrorCondition.DescriptorImpl
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.flow.ErrorCondition
org.jenkinsci.plugins.workflow.flow.ErrorCondition.ErrorConditionDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description KubernetesAgentErrorCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHandleNonKubernetes()
void
setHandleNonKubernetes(boolean handleNonKubernetes)
boolean
test(Throwable t, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
isHandleNonKubernetes
public boolean isHandleNonKubernetes()
-
setHandleNonKubernetes
@DataBoundSetter public void setHandleNonKubernetes(boolean handleNonKubernetes)
-
test
public boolean test(Throwable t, org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException
- Specified by:
test
in classorg.jenkinsci.plugins.workflow.flow.ErrorCondition
- Throws:
IOException
InterruptedException
-
-