Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_overall.haml « ci « graphs « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf4285a2671dc0d505834e5294f0471f6c040533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- ci_project = @project.gitlab_ci_project
%h4 Overall stats
%ul
  %li
    Total:
    %strong= pluralize ci_project.builds.count(:all), 'build'
  %li
    Successful:
    %strong= pluralize ci_project.builds.success.count(:all), 'build'
  %li
    Failed:
    %strong= pluralize ci_project.builds.failed.count(:all), 'build'
  %li
    Success ratio:
    %strong
      #{success_ratio(ci_project.builds.success, ci_project.builds.failed)}%
  %li
    Commits covered:
    %strong
      = ci_project.commits.count(:all)