diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-29 20:06:41 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-19 21:30:28 +0300 |
commit | f668a785cd7174b32e8070fde9cbb503caa04f8e (patch) | |
tree | e45cf393ebf2c31ee2f8a4711b3d7108ec059e43 /app/helpers/ci_status_helper.rb | |
parent | 1d7ac1641e50938c854abf249c53e51ce1ef2ed5 (diff) |
Starting work on the warn_on_failure feature for the MR build status.
Diffstat (limited to 'app/helpers/ci_status_helper.rb')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index e6c99c9959e..c9217b846e7 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -17,6 +17,8 @@ module CiStatusHelper def ci_label_for_status(status) if status == 'success' 'passed' + elsif status == 'success_with_warnings' + 'passed with warnings' else status end @@ -27,6 +29,8 @@ module CiStatusHelper case status when 'success' 'check' + when 'success_with_warnings' + 'exclamation-triangle' when 'failed' 'close' when 'pending' |