diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-29 22:41:38 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-29 22:41:38 +0300 |
commit | 6053acf5e6cee3ceceb1010ed77f1ce71099d5e1 (patch) | |
tree | bcc7a97dd84481cec5350de456da1cc081c0a451 /app | |
parent | 385c602bd0e45418ccc10893f8f472584ba95551 (diff) |
We consider skipped = success, fixes #22598
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/has_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb index 0fa4df0fb56..755eadf779a 100644 --- a/app/models/concerns/has_status.rb +++ b/app/models/concerns/has_status.rb @@ -21,7 +21,7 @@ module HasStatus deduce_status = "(CASE WHEN (#{builds})=(#{created}) THEN 'created' - WHEN (#{builds})=(#{skipped}) THEN 'skipped' + WHEN (#{builds})=(#{skipped}) THEN 'success' WHEN (#{builds})=(#{success})+(#{ignored})+(#{skipped}) THEN 'success' WHEN (#{builds})=(#{created})+(#{pending})+(#{skipped}) THEN 'pending' WHEN (#{builds})=(#{canceled})+(#{success})+(#{ignored})+(#{skipped}) THEN 'canceled' |