add OutOfMemoryKilled failure reason to build
@@ -84,6 +84,9 @@ const (
// range of build failures.
StatusReasonGenericBuildFailed StatusReason = "GenericBuildFailed"
+ // StatusReasonOutOfMemoryKilled indicates that the build pod was killed for its memory consumption
+ StatusReasonOutOfMemoryKilled StatusReason = "OutOfMemoryKilled"
+
// StatusCannotRetrieveServiceAccount is the reason associated with a failure
// to look up the service account associated with the BuildConfig.
StatusReasonCannotRetrieveServiceAccount StatusReason = "CannotRetrieveServiceAccount"
