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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfaceA marker interface forCauseOfInterruptioninstances that can be retried throughAgentErrorCondition.Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.flow.ErrorCondition
org.jenkinsci.plugins.workflow.flow.ErrorCondition.ErrorConditionDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
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:
testin classorg.jenkinsci.plugins.workflow.flow.ErrorCondition- Throws:
IOExceptionInterruptedException
-