Enum Class FailureType
- All Implemented Interfaces:
Serializable, Comparable<FailureType>, Constable
Classifies why a build failed on a particular executor slot.
Only
NODE_FAULT and TIMEOUT count toward the node-avoidance
threshold — they indicate an environment problem on the node itself.
The rest are recorded for information but do not penalise the node.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExplicitly aborted by a user or the system — not a node problem.The build code/tests failed (non-zero exit code, compile error, test failure).Abuild job:'…'trigger step failed.The node's environment caused the failure: agent disconnected, channel closed, out-of-memory, disk full, required tool absent, launcher error.Build succeeded — positive signal for the node.The build was killed by a timeout step.Could not determine the cause. -
Method Summary
Modifier and TypeMethodDescriptionstatic FailureTypeReturns the enum constant of this class with the specified name.static FailureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Build succeeded — positive signal for the node. -
NODE_FAULT
The node's environment caused the failure: agent disconnected, channel closed, out-of-memory, disk full, required tool absent, launcher error. Counts toward the avoidance threshold. -
CODE_FAULT
The build code/tests failed (non-zero exit code, compile error, test failure). Not the node's fault. -
DOWNSTREAM_FAIL
Abuild job:'…'trigger step failed. The downstream job is the problem; this node just ran the trigger step correctly. -
TIMEOUT
The build was killed by a timeout step. Counts toward the threshold because it may indicate the node is overloaded or starved of resources. -
ABORTED
Explicitly aborted by a user or the system — not a node problem. -
UNKNOWN
Could not determine the cause. Recorded but not counted.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-