diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:35:37 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-06 15:53:59 +0900 |
commit | 67c7e0fc5d50e2c8fc7aa773b98d32922132be47 (patch) | |
tree | cf7c88cad9f600eb7c597cac477b2f9b2d6dfafa /app/models/commit_status.rb | |
parent | f92292815868a67db53059cbe8e7607cc4891f47 (diff) | |
download | gitlab-ce-67c7e0fc5d50e2c8fc7aa773b98d32922132be47.tar.gz |
Fail jobs if its dependency is missing
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index ee21ed8e420..c0263c0b4e2 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -43,7 +43,8 @@ class CommitStatus < ActiveRecord::Base script_failure: 1, api_failure: 2, stuck_or_timeout_failure: 3, - runner_system_failure: 4 + runner_system_failure: 4, + missing_dependency_failure: 5 } ## |