Return created status
This commit is contained in:
parent
f374379834
commit
e0f90fb2de
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module HasStatus
|
|||
skipped = scope.skipped.select('count(*)').to_sql
|
||||
|
||||
deduce_status = "(CASE
|
||||
WHEN (#{builds})=(#{created}) THEN NULL
|
||||
WHEN (#{builds})=(#{created}) THEN 'created'
|
||||
WHEN (#{builds})=(#{skipped}) THEN 'skipped'
|
||||
WHEN (#{builds})=(#{success})+(#{ignored})+(#{skipped}) THEN 'success'
|
||||
WHEN (#{builds})=(#{created})+(#{pending})+(#{skipped}) THEN 'pending'
|
||||
|
|
Loading…
Reference in a new issue