build_fail_email.html.haml 740 字节
Newer Older
D
Douwe Maan 已提交
1 2 3 4 5 6 7 8 9
- content_for :header do
  %h1{style: "background: #c40834; color: #FFF; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"}
    GitLab CI (build failed)
%h3
  Project:
  = link_to ci_project_url(@project) do
    = @project.name

%p
K
Kamil Trzcinski 已提交
10
  Commit: #{link_to @build.short_sha, namespace_project_commit_path(@build.gl_project.namespace, @build.gl_project, @build.sha)}
D
Douwe Maan 已提交
11 12 13
%p
  Author: #{@build.commit.git_author_name}
%p
K
Kamil Trzcinski 已提交
14
  Branch: #{@build.ref}
15 16 17 18
%p
  Stage: #{@build.stage}
%p
  Job: #{@build.name}
D
Douwe Maan 已提交
19 20 21 22
%p
  Message: #{@build.commit.git_commit_message}

%p
K
Kamil Trzcinski 已提交
23
  Build details: #{link_to "Build #{@build.id}", namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build)}