2021-03-08 18:12:59 +05:30
|
|
|
Pipeline #<%= @pipeline.id %> has failed!
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
Project: <%= @project.name %> ( <%= project_url(@project) %> )
|
2019-12-21 20:55:43 +05:30
|
|
|
Branch: <%= @pipeline.source_ref %> ( <%= commits_url(@pipeline) %> )
|
2016-11-03 12:29:30 +05:30
|
|
|
<% if @merge_request -%>
|
2021-04-29 21:17:54 +05:30
|
|
|
Merge request: <%= @merge_request.to_reference %> ( <%= merge_request_url(@merge_request) %> )
|
2016-11-03 12:29:30 +05:30
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
Commit: <%= @pipeline.short_sha %> ( <%= commit_url(@pipeline) %> )
|
|
|
|
Commit Message: <%= @pipeline.git_commit_message.truncate(50) %>
|
|
|
|
<% commit = @pipeline.commit -%>
|
|
|
|
<% if commit.author -%>
|
2019-02-15 15:39:39 +05:30
|
|
|
Commit Author: <%= sanitize_name(commit.author.name) %> ( <%= user_url(commit.author) %> )
|
2016-11-03 12:29:30 +05:30
|
|
|
<% else -%>
|
|
|
|
Commit Author: <%= commit.author_name %>
|
|
|
|
<% end -%>
|
2017-08-17 22:00:37 +05:30
|
|
|
<% if commit.different_committer? -%>
|
|
|
|
<% if commit.committer -%>
|
2019-02-15 15:39:39 +05:30
|
|
|
Committed by: <%= sanitize_name(commit.committer.name) %> ( <%= user_url(commit.committer) %> )
|
2017-08-17 22:00:37 +05:30
|
|
|
<% else -%>
|
|
|
|
Committed by: <%= commit.committer_name %>
|
|
|
|
<% end -%>
|
|
|
|
<% end -%>
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
<% if @pipeline.user -%>
|
2019-02-15 15:39:39 +05:30
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= pipeline_url(@pipeline) %> ) triggered by <%= sanitize_name(@pipeline.user.name) %> ( <%= user_url(@pipeline.user) %> )
|
2017-08-17 22:00:37 +05:30
|
|
|
<% else -%>
|
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= pipeline_url(@pipeline) %> ) triggered by API
|
|
|
|
<% end -%>
|
2021-01-03 14:25:43 +05:30
|
|
|
<% failed = @pipeline.latest_statuses.failed -%>
|
2021-09-04 01:27:46 +05:30
|
|
|
had <%= failed.size %> failed <%= 'job'.pluralize(failed.size) %>.
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
<% failed.each do |build| -%>
|
2017-08-17 22:00:37 +05:30
|
|
|
<%= render "notify/links/#{build.to_partial_path}", pipeline: @pipeline, build: build %>
|
2022-10-11 01:57:18 +05:30
|
|
|
Stage: <%= build.stage_name %>
|
2016-11-03 12:29:30 +05:30
|
|
|
Name: <%= build.name %>
|
2017-08-17 22:00:37 +05:30
|
|
|
<% end -%>
|