Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
3d9a766d
Commit
3d9a766d
authored
Mar 04, 2015
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Web Hook sends email of pusher
parent
8be36a2c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
CHANGELOG
CHANGELOG
+1
-0
doc/web_hooks/web_hooks.md
doc/web_hooks/web_hooks.md
+1
-0
lib/gitlab/push_data_builder.rb
lib/gitlab/push_data_builder.rb
+2
-0
No files found.
CHANGELOG
View file @
3d9a766d
...
@@ -19,6 +19,7 @@ v 7.9.0 (unreleased)
...
@@ -19,6 +19,7 @@ v 7.9.0 (unreleased)
- Add a service to send updates to an Irker gateway (Romain Coltel)
- Add a service to send updates to an Irker gateway (Romain Coltel)
- Add brakeman (security scanner for Ruby on Rails)
- Add brakeman (security scanner for Ruby on Rails)
- Slack username and channel options
- Slack username and channel options
- Web hook sends pusher email as well as commiter
v 7.8.1
v 7.8.1
- Fix run of custom post receive hooks
- Fix run of custom post receive hooks
...
...
doc/web_hooks/web_hooks.md
View file @
3d9a766d
...
@@ -21,6 +21,7 @@ Triggered when you push to the repository except when pushing tags.
...
@@ -21,6 +21,7 @@ Triggered when you push to the repository except when pushing tags.
"ref"
:
"refs/heads/master"
,
"ref"
:
"refs/heads/master"
,
"user_id"
:
4
,
"user_id"
:
4
,
"user_name"
:
"John Smith"
,
"user_name"
:
"John Smith"
,
"user_email"
:
"john@example.com"
,
"project_id"
:
15
,
"project_id"
:
15
,
"repository"
:
{
"repository"
:
{
"name"
:
"Diaspora"
,
"name"
:
"Diaspora"
,
...
...
lib/gitlab/push_data_builder.rb
View file @
3d9a766d
...
@@ -9,6 +9,7 @@ module Gitlab
...
@@ -9,6 +9,7 @@ module Gitlab
# ref: String,
# ref: String,
# user_id: String,
# user_id: String,
# user_name: String,
# user_name: String,
# user_email: String
# project_id: String,
# project_id: String,
# repository: {
# repository: {
# name: String,
# name: String,
...
@@ -35,6 +36,7 @@ module Gitlab
...
@@ -35,6 +36,7 @@ module Gitlab
checkout_sha:
checkout_sha
(
project
.
repository
,
newrev
,
ref
),
checkout_sha:
checkout_sha
(
project
.
repository
,
newrev
,
ref
),
user_id:
user
.
id
,
user_id:
user
.
id
,
user_name:
user
.
name
,
user_name:
user
.
name
,
user_email:
user
.
email
,
project_id:
project
.
id
,
project_id:
project
.
id
,
repository:
{
repository:
{
name:
project
.
name
,
name:
project
.
name
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment