Class AgentErrorCondition
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
org.jenkinsci.plugins.workflow.flow.ErrorCondition
org.jenkinsci.plugins.workflow.support.steps.AgentErrorCondition
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
,Serializable
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public final class AgentErrorCondition
extends org.jenkinsci.plugins.workflow.flow.ErrorCondition
Determines whether a failure in
ExecutorStep
should be retried.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static interface
A marker interface forCauseOfInterruption
instances that can be retried throughAgentErrorCondition
.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
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.flow.ErrorCondition
getDescriptor
-
Constructor Details
-
AgentErrorCondition
@DataBoundConstructor public AgentErrorCondition()
-
-
Method Details
-
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
-