Package jetbrains.buildServer.agent
Class BuildInterruptReason
- java.lang.Object
-
- jetbrains.buildServer.agent.BuildInterruptReason
-
@NonNls public final class BuildInterruptReason extends java.lang.Object
Describes build forcibly interruption attempt reason
-
-
Field Summary
Fields Modifier and Type Field Description static BuildInterruptReason
AGENT_CANCEL_BUILD
Build is canceled by an agent API callstatic BuildInterruptReason
AGENT_SHUTDOWN
Build is terminated because of the build agent shutdownstatic BuildInterruptReason
AGENT_STOP_BUILD
Build is terminated on agent because of some errorstatic BuildInterruptReason
EXECUTION_TIMEOUT
Build is terminated because execution time limit is exceededstatic BuildInterruptReason
NOT_RUNNING_BUILD_ON_SERVER
This build is not running on the serverstatic BuildInterruptReason
SERVER_STOP_BUILD
Build is terminated by 'Stop build' command from the serverstatic BuildInterruptReason
SERVER_STOP_BY_PLUGIN
Build is marked as failed and stopped without being marked as canceled by an agent API call (AgentRunningBuildEx#stop method) Beware that the name of the constant can be misleadingstatic BuildInterruptReason
UNKNOWN_REASON
Used in case if interrupt reason could not be identified.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUserDescription()
java.lang.String
toString()
-
-
-
Field Detail
-
EXECUTION_TIMEOUT
@NonNls public static final BuildInterruptReason EXECUTION_TIMEOUT
Build is terminated because execution time limit is exceeded
-
AGENT_SHUTDOWN
@NonNls public static final BuildInterruptReason AGENT_SHUTDOWN
Build is terminated because of the build agent shutdown
-
NOT_RUNNING_BUILD_ON_SERVER
@NonNls public static final BuildInterruptReason NOT_RUNNING_BUILD_ON_SERVER
This build is not running on the server
-
SERVER_STOP_BUILD
@NonNls public static final BuildInterruptReason SERVER_STOP_BUILD
Build is terminated by 'Stop build' command from the server
-
SERVER_STOP_BY_PLUGIN
@NonNls public static final BuildInterruptReason SERVER_STOP_BY_PLUGIN
Build is marked as failed and stopped without being marked as canceled by an agent API call (AgentRunningBuildEx#stop method) Beware that the name of the constant can be misleading- Since:
- 6.5
-
AGENT_CANCEL_BUILD
@NonNls public static final BuildInterruptReason AGENT_CANCEL_BUILD
Build is canceled by an agent API call- Since:
- 2019.2
-
AGENT_STOP_BUILD
@NonNls public static final BuildInterruptReason AGENT_STOP_BUILD
Build is terminated on agent because of some error- Since:
- 2017.1
-
UNKNOWN_REASON
@NonNls public static final BuildInterruptReason UNKNOWN_REASON
Used in case if interrupt reason could not be identified.- Since:
- 7.0
-
-