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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
21d660a5
Commit
21d660a5
authored
Mar 04, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'web_hook_extend' into 'master'
Web Hook sends email of pusher See merge request !1630
parents
67eb6e92
3d9a766d
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 @
21d660a5
...
...
@@ -20,6 +20,7 @@ v 7.9.0 (unreleased)
- Add brakeman (security scanner for Ruby on Rails)
- Slack username and channel options
- Add grouped milestones from all projects to dashboard.
- Web hook sends pusher email as well as commiter
v 7.8.1
- Fix run of custom post receive hooks
...
...
doc/web_hooks/web_hooks.md
View file @
21d660a5
...
...
@@ -21,6 +21,7 @@ Triggered when you push to the repository except when pushing tags.
"ref"
:
"refs/heads/master"
,
"user_id"
:
4
,
"user_name"
:
"John Smith"
,
"user_email"
:
"john@example.com"
,
"project_id"
:
15
,
"repository"
:
{
"name"
:
"Diaspora"
,
...
...
lib/gitlab/push_data_builder.rb
View file @
21d660a5
...
...
@@ -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
,
...
...
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