gitlab-org--gitlab-foss/app/views/notify/build_fail_email.html.haml

25 lines
758 B
Text
Raw Normal View History

2015-08-25 21:42:46 -04:00
- 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 (build failed)
2015-08-25 21:42:46 -04:00
%h3
Project:
= link_to namespace_project_url(@project.namespace, @project) do
2015-08-25 21:42:46 -04:00
= @project.name
%p
2015-12-04 06:55:23 -05:00
Commit: #{link_to @build.short_sha, namespace_project_commit_url(@build.project.namespace, @build.project, @build.sha)}
2015-08-25 21:42:46 -04:00
%p
Author: #{@build.pipeline.git_author_name}
2015-08-25 21:42:46 -04:00
%p
2015-10-02 07:46:38 -04:00
Branch: #{@build.ref}
%p
Stage: #{@build.stage}
%p
Job: #{@build.name}
2015-08-25 21:42:46 -04:00
%p
Message: #{@build.pipeline.git_commit_message}
2015-08-25 21:42:46 -04:00
%p
2015-12-04 06:55:23 -05:00
Build details: #{link_to "Build #{@build.id}", namespace_project_build_url(@build.project.namespace, @build.project, @build)}