2016-10-06 11:09:24 -04:00
|
|
|
Your pipeline has failed.
|
2016-10-03 14:55:08 -04:00
|
|
|
|
2016-10-12 13:43:23 -04:00
|
|
|
Project: <%= @project.name %> ( <%= project_url(@project) %> )
|
2019-09-27 11:06:16 -04:00
|
|
|
Branch: <%= @pipeline.source_ref %> ( <%= commits_url(@pipeline) %> )
|
2016-10-03 14:55:08 -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-03 14:55:08 -04:00
|
|
|
<% end -%>
|
|
|
|
|
2016-10-13 15:33:49 -04:00
|
|
|
Commit: <%= @pipeline.short_sha %> ( <%= commit_url(@pipeline) %> )
|
2016-10-03 14:55:08 -04:00
|
|
|
Commit Message: <%= @pipeline.git_commit_message.truncate(50) %>
|
|
|
|
<% commit = @pipeline.commit -%>
|
2016-10-13 01:18:00 -04:00
|
|
|
<% if commit.author -%>
|
2019-01-15 09:22:26 -05:00
|
|
|
Commit Author: <%= sanitize_name(commit.author.name) %> ( <%= user_url(commit.author) %> )
|
2016-10-13 01:18:00 -04:00
|
|
|
<% else -%>
|
|
|
|
Commit Author: <%= commit.author_name %>
|
2016-10-03 14:55:08 -04:00
|
|
|
<% end -%>
|
2017-03-27 03:57:52 -04:00
|
|
|
<% if commit.different_committer? -%>
|
|
|
|
<% if commit.committer -%>
|
2019-01-15 09:22:26 -05:00
|
|
|
Committed by: <%= sanitize_name(commit.committer.name) %> ( <%= user_url(commit.committer) %> )
|
2017-03-27 03:57:52 -04:00
|
|
|
<% else -%>
|
|
|
|
Committed by: <%= commit.committer_name %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2016-10-03 14:55:08 -04:00
|
|
|
|
2017-03-27 03:57:52 -04:00
|
|
|
<% if @pipeline.user -%>
|
2019-01-15 09:22:26 -05:00
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= pipeline_url(@pipeline) %> ) triggered by <%= sanitize_name(@pipeline.user.name) %> ( <%= user_url(@pipeline.user) %> )
|
2017-03-27 03:57:52 -04:00
|
|
|
<% else -%>
|
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= pipeline_url(@pipeline) %> ) triggered by API
|
|
|
|
<% end -%>
|
2020-09-28 05:09:35 -04:00
|
|
|
<% failed = @pipeline.latest_statuses.failed -%>
|
2017-03-27 03:57:52 -04:00
|
|
|
had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
|
2016-10-03 14:55:08 -04:00
|
|
|
|
|
|
|
<% failed.each do |build| -%>
|
2016-11-22 00:44:25 -05:00
|
|
|
<%= render "notify/links/#{build.to_partial_path}", pipeline: @pipeline, build: build %>
|
2016-10-03 14:55:08 -04:00
|
|
|
Stage: <%= build.stage %>
|
|
|
|
Name: <%= build.name %>
|
|
|
|
<% end -%>
|