BigW Consortium Gitlab

Commit 23e0a3ee by Lin Jen-Shin

Specify 3 cases we want them to be excluded. [ci skip]

parent 8dfec32d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment