diff options
| author | Lin Jen-Shin <godfat@godfat.org> | 2016-10-03 18:25:18 +0800 |
|---|---|---|
| committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-03 18:25:18 +0800 |
| commit | 23e0a3ee7d3e050c6c6beb8fafa178779e7e4fc8 (patch) | |
| tree | 3f34ed18e82e7d55b6cec683f13815c5995dd7e0 /app | |
| parent | 8dfec32d2bac661313f62b338b6d991b3fa25b98 (diff) | |
| download | gitlab-ce-23e0a3ee7d3e050c6c6beb8fafa178779e7e4fc8.tar.gz | |
Specify 3 cases we want them to be excluded. [ci skip]
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/commit_status.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 710c8364554..0cf8d32453e 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -29,6 +29,7 @@ class CommitStatus < ActiveRecord::Base end scope :exclude_ignored, -> do quoted_when = connection.quote_column_name('when') + # We want to ignore failed_but_allowed jobs where("allow_failure = ? OR status NOT IN (?)", false, [:failed, :canceled]). # We want to ignore skipped manual jobs |
