summaryrefslogtreecommitdiff
path: root/app/views/notify/pipeline_success_email.html.haml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-13 19:09:53 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-13 19:09:53 +0800
commit4add6ca6ecb42fe08c0c1fbb1e7d5cf437e8ee3b (patch)
tree8e368eb60bd8a05d8553508563333ac0b153f352 /app/views/notify/pipeline_success_email.html.haml
parent1b1c6ebf49c7ea9f838bff0f13f53808845d8979 (diff)
downloadgitlab-ce-4add6ca6ecb42fe08c0c1fbb1e7d5cf437e8ee3b.tar.gz
Try to integrate the email into notification system
Diffstat (limited to 'app/views/notify/pipeline_success_email.html.haml')
-rw-r--r--app/views/notify/pipeline_success_email.html.haml26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/views/notify/pipeline_success_email.html.haml b/app/views/notify/pipeline_success_email.html.haml
new file mode 100644
index 00000000000..64cf7cfe103
--- /dev/null
+++ b/app/views/notify/pipeline_success_email.html.haml
@@ -0,0 +1,26 @@
+.p
+ Project:
+ = @project.path_with_namespace
+.p
+ Branch:
+ = @pipeline.ref
+.p
+ Commit:
+ = @pipeline.short_sha
+ (
+ = @pipeline.sha
+ )
+.p
+ Commit Message:
+ = @pipeline.git_commit_message
+.p
+ Commit Author:
+ = @pipeline.git_author_name
+.p
+ Pusher:
+ = @pipeline.user.try(:name)
+- failed = @pipeline.statuses.latest.failed
+.p
+ Pipeline #
+ = @pipeline.id
+ had succeeded.