-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,45 +146,6 @@ private void processWebhookPayloadBitBucketServer(JSONObject payload) { | |
} | ||
} | ||
|
||
/* | ||
{ | ||
"canon_url": "https://bitbucket.org", | ||
"commits": [ | ||
{ | ||
"author": "marcus", | ||
"branch": "master", | ||
"files": [ | ||
{ | ||
"file": "somefile.py", | ||
"type": "modified" | ||
} | ||
], | ||
"message": "Added some more things to somefile.py\n", | ||
"node": "620ade18607a", | ||
"parents": [ | ||
"702c70160afc" | ||
], | ||
"raw_author": "Marcus Bertrand <[email protected]>", | ||
"raw_node": "620ade18607ac42d872b568bb92acaa9a28620e9", | ||
"revision": null, | ||
"size": -1, | ||
"timestamp": "2012-05-30 05:58:56", | ||
"utctimestamp": "2012-05-30 03:58:56+00:00" | ||
} | ||
], | ||
"repository": { | ||
"absolute_url": "/marcus/project-x/", | ||
"fork": false, | ||
"is_private": true, | ||
"name": "Project X", | ||
"owner": "marcus", | ||
"scm": "git", | ||
"slug": "project-x", | ||
"website": "https://atlassian.com/" | ||
}, | ||
"user": "marcus" | ||
} | ||
*/ | ||
private void processPostServicePayload(JSONObject payload) { | ||
JSONObject repo = payload.getJSONObject("repository"); | ||
LOGGER.log(Level.INFO, "Received commit hook notification for {0}", repo); | ||
|