diff --git a/src/main/java/com/cloudbees/jenkins/plugins/BitbucketPayloadProcessor.java b/src/main/java/com/cloudbees/jenkins/plugins/BitbucketPayloadProcessor.java index b894bc5..90ec744 100644 --- a/src/main/java/com/cloudbees/jenkins/plugins/BitbucketPayloadProcessor.java +++ b/src/main/java/com/cloudbees/jenkins/plugins/BitbucketPayloadProcessor.java @@ -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 ", - "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);