summaryrefslogtreecommitdiff
path: root/app/views/notify/pipeline_success_email.text.erb
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.text.erb
parent1b1c6ebf49c7ea9f838bff0f13f53808845d8979 (diff)
downloadgitlab-ce-4add6ca6ecb42fe08c0c1fbb1e7d5cf437e8ee3b.tar.gz
Try to integrate the email into notification system
Diffstat (limited to 'app/views/notify/pipeline_success_email.text.erb')
-rw-r--r--app/views/notify/pipeline_success_email.text.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/notify/pipeline_success_email.text.erb b/app/views/notify/pipeline_success_email.text.erb
new file mode 100644
index 00000000000..6821d1f4459
--- /dev/null
+++ b/app/views/notify/pipeline_success_email.text.erb
@@ -0,0 +1,7 @@
+Project: <%= @project.path_with_namespace %>
+Branch: <%= @pipeline.ref %>
+Commit: <%= @pipeline.short_sha %> (<%= @pipeline.sha %>)
+Commit Message: <%= @pipeline.git_commit_message %>
+Commit Author: <%= @pipeline.git_author_name %>
+Pusher: <%= @pipeline.user.try(:name) %>
+Pipeline #<%= @pipeline.id %> had succeeded.