2015-09-25 12:07:36 +05:30
|
|
|
%tr.build
|
|
|
|
%td.status
|
|
|
|
= ci_status_with_icon(commit.status)
|
|
|
|
- if commit.running?
|
|
|
|
·
|
|
|
|
= commit.stage
|
|
|
|
|
|
|
|
|
|
|
|
%td.build-link
|
2015-10-24 18:46:33 +05:30
|
|
|
= link_to ci_status_path(commit) do
|
2015-09-25 12:07:36 +05:30
|
|
|
%strong #{commit.short_sha}
|
|
|
|
|
|
|
|
%td.build-message
|
|
|
|
%span= truncate_first_line(commit.git_commit_message)
|
|
|
|
|
|
|
|
%td.build-branch
|
|
|
|
- unless @ref
|
|
|
|
%span
|
2015-10-24 18:46:33 +05:30
|
|
|
- commit.refs.each do |ref|
|
|
|
|
= link_to truncate(ref, length: 25), ci_project_path(@project, ref: ref)
|
2015-09-25 12:07:36 +05:30
|
|
|
|
|
|
|
%td.duration
|
|
|
|
- if commit.duration > 0
|
|
|
|
#{time_interval_in_words commit.duration}
|
|
|
|
|
|
|
|
%td.timestamp
|
|
|
|
- if commit.finished_at
|
|
|
|
%span #{time_ago_in_words commit.finished_at} ago
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
- if commit.coverage
|
2015-09-25 12:07:36 +05:30
|
|
|
%td.coverage
|
2015-12-23 02:04:40 +05:30
|
|
|
#{commit.coverage}%
|