2016-10-06 11:09:24 -04:00
|
|
|
Your pipeline has passed.
|
2016-10-06 00:19:28 -04:00
|
|
|
|
2016-10-12 13:43:23 -04:00
|
|
|
Project: <%= @project.name %> ( <%= project_url(@project) %> )
|
2016-10-13 15:40:50 -04:00
|
|
|
Branch: <%= @pipeline.ref %> ( <%= commits_url(@pipeline) %> )
|
2016-10-06 00:19:28 -04:00
|
|
|
<% if @merge_request -%>
|
2016-10-12 13:43:23 -04:00
|
|
|
Merge Request: <%= @merge_request.to_reference %> ( <%= merge_request_url(@merge_request) %> )
|
2016-10-06 00:19:28 -04:00
|
|
|
<% end -%>
|
|
|
|
|
2016-10-13 15:33:49 -04:00
|
|
|
Commit: <%= @pipeline.short_sha %> ( <%= commit_url(@pipeline) %> )
|
2016-10-06 00:19:28 -04:00
|
|
|
Commit Message: <%= @pipeline.git_commit_message.truncate(50) %>
|
|
|
|
<% commit = @pipeline.commit -%>
|
2016-10-13 01:18:00 -04:00
|
|
|
<% if commit.author -%>
|
2016-10-06 00:19:28 -04:00
|
|
|
Commit Author: <%= commit.author.name %> ( <%= user_url(commit.author) %> )
|
2016-10-13 01:18:00 -04:00
|
|
|
<% else -%>
|
|
|
|
Commit Author: <%= commit.author_name %>
|
2016-10-06 00:19:28 -04:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% build_count = @pipeline.statuses.latest.size -%>
|
2016-12-05 08:17:42 -05:00
|
|
|
<% stage_count = @pipeline.stages_count -%>
|
2016-10-13 15:33:49 -04:00
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= pipeline_url(@pipeline) %> ) successfully completed <%= build_count %> <%= 'build'.pluralize(build_count) %> in <%= stage_count %> <%= 'stage'.pluralize(stage_count) %>.
|