diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-30 13:38:36 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-30 13:39:08 +0300 |
commit | f3b02b9e6e79f178b92a65b5cd598a4733b570bd (patch) | |
tree | a321d478056c935ace67f1a1e0ce38cd7cd4ecfb /app/models/concerns | |
parent | 6053acf5e6cee3ceceb1010ed77f1ce71099d5e1 (diff) |
Or we could simply ignore skipped manual jobs
Diffstat (limited to 'app/models/concerns')
-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 755eadf779a..0fa4df0fb56 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 'success' + WHEN (#{builds})=(#{skipped}) THEN 'skipped' WHEN (#{builds})=(#{success})+(#{ignored})+(#{skipped}) THEN 'success' WHEN (#{builds})=(#{created})+(#{pending})+(#{skipped}) THEN 'pending' WHEN (#{builds})=(#{canceled})+(#{success})+(#{ignored})+(#{skipped}) THEN 'canceled' |