Add support build_canceled status
This commit is contained in:
parent
68ae986fde
commit
bc23b9d44e
|
@ -32,6 +32,7 @@ class BuildList < ActiveRecord::Base
|
|||
BuildServer::PLATFORM_PENDING,
|
||||
BuildServer::PROJECT_NOT_FOUND,
|
||||
BuildServer::PROJECT_VERSION_NOT_FOUND,
|
||||
BUILD_CANCELED,
|
||||
TEST_FAILD]
|
||||
|
||||
HUMAN_STATUSES = { BuildServer::BUILD_ERROR => :build_error,
|
||||
|
@ -43,7 +44,8 @@ class BuildList < ActiveRecord::Base
|
|||
BuildServer::PLATFORM_PENDING => :platform_pending,
|
||||
BuildServer::PROJECT_NOT_FOUND => :project_not_found,
|
||||
BuildServer::PROJECT_VERSION_NOT_FOUND => :project_version_not_found,
|
||||
TEST_FAILD => :testing_faild
|
||||
TEST_FAILD => :testing_faild,
|
||||
BUILD_CANCELED => :build_canceled
|
||||
}
|
||||
|
||||
scope :recent, order("created_at DESC")
|
||||
|
|
|
@ -263,6 +263,7 @@ ru:
|
|||
waiting_for_response: ожидает ответа
|
||||
build_pending: ожидает сборку
|
||||
testing_faild: тестирование не пройдено
|
||||
build_canceled: сборка отменена
|
||||
success: собран
|
||||
build_started: собирается
|
||||
platform_not_found: платформа не найдена
|
||||
|
|
Loading…
Reference in New Issue