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) %> )
|
2016-10-03 14:55:08 -04:00
|
|
|
Branch: <%= @pipeline.ref %> ( <%= namespace_project_commits_url(@project.namespace, @project, @pipeline.ref) %> )
|
|
|
|
<% 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 -%>
|
|
|
|
|
|
|
|
Commit: <%= @pipeline.short_sha %> ( <%= namespace_project_commit_url(@project.namespace, @project, @pipeline.sha) %> )
|
|
|
|
Commit Message: <%= @pipeline.git_commit_message.truncate(50) %>
|
|
|
|
<% commit = @pipeline.commit -%>
|
2016-10-13 01:18:00 -04:00
|
|
|
<% if commit.author -%>
|
2016-10-03 14:55:08 -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-03 14:55:08 -04:00
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<% failed = @pipeline.statuses.latest.failed -%>
|
|
|
|
Pipeline #<%= @pipeline.id %> ( <%= namespace_project_pipeline_url(@project.namespace, @project, @pipeline.id) %> ) had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
|
|
|
|
|
|
|
|
<% failed.each do |build| -%>
|
|
|
|
Build #<%= build.id %> ( <%= namespace_project_build_url(@project.namespace, @project, build.id) %> )
|
|
|
|
Stage: <%= build.stage %>
|
|
|
|
Name: <%= build.name %>
|
|
|
|
Trace: <%= build.trace_with_state(last_lines: 10)[:text] %>
|
|
|
|
|
|
|
|
<% end -%>
|
|
|
|
|
2016-10-07 18:05:31 -04:00
|
|
|
You're receiving this email because of your account on <%= Gitlab.config.gitlab.host %>.
|
2016-10-03 14:55:08 -04:00
|
|
|
Manage all notifications: <%= profile_notifications_url %>
|
|
|
|
Help: <%= help_url %>
|