2015-11-26 14:37:03 +05:30
|
|
|
%h4 Overall stats
|
|
|
|
%ul
|
|
|
|
%li
|
2015-10-24 18:46:33 +05:30
|
|
|
Total:
|
2015-12-23 02:04:40 +05:30
|
|
|
%strong= pluralize @project.builds.count(:all), 'build'
|
2015-11-26 14:37:03 +05:30
|
|
|
%li
|
2015-10-24 18:46:33 +05:30
|
|
|
Successful:
|
2015-12-23 02:04:40 +05:30
|
|
|
%strong= pluralize @project.builds.success.count(:all), 'build'
|
2015-11-26 14:37:03 +05:30
|
|
|
%li
|
2015-10-24 18:46:33 +05:30
|
|
|
Failed:
|
2015-12-23 02:04:40 +05:30
|
|
|
%strong= pluralize @project.builds.failed.count(:all), 'build'
|
2015-11-26 14:37:03 +05:30
|
|
|
%li
|
2015-10-24 18:46:33 +05:30
|
|
|
Success ratio:
|
|
|
|
%strong
|
2015-12-23 02:04:40 +05:30
|
|
|
#{success_ratio(@project.builds.success, @project.builds.failed)}%
|
2015-11-26 14:37:03 +05:30
|
|
|
%li
|
2015-10-24 18:46:33 +05:30
|
|
|
Commits covered:
|
|
|
|
%strong
|
2015-12-23 02:04:40 +05:30
|
|
|
= @project.ci_commits.count(:all)
|