Restore legacy statuses support in ci status helpers
This commit is contained in:
parent
ed4ec0dab7
commit
b1d6dd4c74
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,8 @@ module CiStatusHelper
|
|||
case status
|
||||
when 'success'
|
||||
'passed'
|
||||
when 'success_with_warnings'
|
||||
'passed with warnings'
|
||||
else
|
||||
status
|
||||
end
|
||||
|
@ -41,6 +43,8 @@ module CiStatusHelper
|
|||
case status
|
||||
when 'success'
|
||||
'icon_status_success'
|
||||
when 'success_with_warnings'
|
||||
'icon_status_warning'
|
||||
when 'failed'
|
||||
'icon_status_failed'
|
||||
when 'pending'
|
||||
|
|
Loading…
Reference in a new issue