Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-04 21:24:34 +0300
committerValery Sizov <vsv2711@gmail.com>2015-03-04 21:29:25 +0300
commit3d9a766d9f465ef97b259be860891ce35bd04d0b (patch)
tree99a2722082ebcf557f707bf18d6e744d02819bd8 /lib
parent8be36a2c0f8952fd4daae8b7007e687966b5a75f (diff)
Web Hook sends email of pusher
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/push_data_builder.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/push_data_builder.rb b/lib/gitlab/push_data_builder.rb
index 9aa5c8967a7..6a72efa7221 100644
--- a/lib/gitlab/push_data_builder.rb
+++ b/lib/gitlab/push_data_builder.rb
@@ -9,6 +9,7 @@ module Gitlab
# ref: String,
# user_id: String,
# user_name: String,
+ # user_email: String
# project_id: String,
# repository: {
# name: String,
@@ -35,6 +36,7 @@ module Gitlab
checkout_sha: checkout_sha(project.repository, newrev, ref),
user_id: user.id,
user_name: user.name,
+ user_email: user.email,
project_id: project.id,
repository: {
name: project.name,