BigW Consortium Gitlab

build_success_email.html.haml 760 Bytes
Newer Older
1 2
- content_for :header do
  %h1{style: "background: #38CF5B; color: #FFF; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"}
3
    GitLab (build successful)
4 5 6

%h3
  Project:
7
  = link_to namespace_project_url(@project.namespace, @project) do
8 9 10
    = @project.name

%p
11
  Commit: #{link_to @build.short_sha, namespace_project_commit_url(@build.project.namespace, @build.project, @build.sha)}
12
%p
13
  Author: #{@build.pipeline.git_author_name}
14
%p
15
  Branch: #{@build.ref}
16 17 18 19
%p
  Stage: #{@build.stage}
%p
  Job: #{@build.name}
20
%p
21
  Message: #{@build.pipeline.git_commit_message}
22 23

%p
24
  Build details: #{link_to "Build #{@build.id}", namespace_project_build_url(@build.project.namespace, @build.project, @build)}