{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/comments/69381146","id":69381146,"diff_hunk":"@@ -0,0 +1,31 @@\n+package com.cloudbees.jenkins.plugins.bitbucket.hooks;\r\n+\r\n+import edu.umd.cs.findbugs.annotations.CheckForNull;\r\n+\r\n+public enum BitbucketType\r\n+{\r","path":"src/main/java/com/cloudbees/jenkins/plugins/bitbucket/hooks/BitbucketType.java","position":6,"original_position":6,"commit_id":"ac12eaa1b90215d9cc84d2c989bbee4d3a4d95c2","original_commit_id":"ac12eaa1b90215d9cc84d2c989bbee4d3a4d95c2","user":{"login":"amuniz","id":1017585,"avatar_url":"https://avatars.githubusercontent.com/u/1017585?v=3","gravatar_id":"","url":"https://api.github.com/users/amuniz","html_url":"https://github.com/amuniz","followers_url":"https://api.github.com/users/amuniz/followers","following_url":"https://api.github.com/users/amuniz/following{/other_user}","gists_url":"https://api.github.com/users/amuniz/gists{/gist_id}","starred_url":"https://api.github.com/users/amuniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amuniz/subscriptions","organizations_url":"https://api.github.com/users/amuniz/orgs","repos_url":"https://api.github.com/users/amuniz/repos","events_url":"https://api.github.com/users/amuniz/events{/privacy}","received_events_url":"https://api.github.com/users/amuniz/received_events","type":"User","site_admin":false},"body":"Code style.","created_at":"2016-07-02T18:12:18Z","updated_at":"2016-07-02T18:12:18Z","html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5#discussion_r69381146","pull_request_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/comments/69381146"},"html":{"href":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5#discussion_r69381146"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5","id":74375909,"html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5","diff_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5.diff","patch_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5.patch","issue_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/5","number":5,"state":"open","locked":false,"title":"Add support for the Bitbucket server.","user":{"login":"Eernie","id":2161662,"avatar_url":"https://avatars.githubusercontent.com/u/2161662?v=3","gravatar_id":"","url":"https://api.github.com/users/Eernie","html_url":"https://github.com/Eernie","followers_url":"https://api.github.com/users/Eernie/followers","following_url":"https://api.github.com/users/Eernie/following{/other_user}","gists_url":"https://api.github.com/users/Eernie/gists{/gist_id}","starred_url":"https://api.github.com/users/Eernie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eernie/subscriptions","organizations_url":"https://api.github.com/users/Eernie/orgs","repos_url":"https://api.github.com/users/Eernie/repos","events_url":"https://api.github.com/users/Eernie/events{/privacy}","received_events_url":"https://api.github.com/users/Eernie/received_events","type":"User","site_admin":false},"body":"I made some changes to the code to enable more support for Bitbucket server.\r\nI also made a plugin for Bitbucket which is currently submitted for approval. When both installed Bitbucket can successfully send events to the jenkins machine. \r\n\r\nSee [bitbucket-webhooks-plugin](https://github.com/topicusfinan/bitbucket-webhooks-plugin) repo for more information about the Bitbucket plugin.\r\n[The plugin is also accepted by atlassian.](https://marketplace.atlassian.com/plugins/nl.topicus.bitbucket.bitbucket-webhooks/server/overview)\r\n\r\n@reviewbybees","created_at":"2016-06-19T22:26:33Z","updated_at":"2016-07-02T18:12:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"227980b9cb37dc7e76078c54c09418be86047abe","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/5/comments","statuses_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/statuses/ac12eaa1b90215d9cc84d2c989bbee4d3a4d95c2","head":{"label":"Eernie:feature/moreSupportForBBServer","ref":"feature/moreSupportForBBServer","sha":"ac12eaa1b90215d9cc84d2c989bbee4d3a4d95c2","user":{"login":"Eernie","id":2161662,"avatar_url":"https://avatars.githubusercontent.com/u/2161662?v=3","gravatar_id":"","url":"https://api.github.com/users/Eernie","html_url":"https://github.com/Eernie","followers_url":"https://api.github.com/users/Eernie/followers","following_url":"https://api.github.com/users/Eernie/following{/other_user}","gists_url":"https://api.github.com/users/Eernie/gists{/gist_id}","starred_url":"https://api.github.com/users/Eernie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eernie/subscriptions","organizations_url":"https://api.github.com/users/Eernie/orgs","repos_url":"https://api.github.com/users/Eernie/repos","events_url":"https://api.github.com/users/Eernie/events{/privacy}","received_events_url":"https://api.github.com/users/Eernie/received_events","type":"User","site_admin":false},"repo":{"id":61327193,"name":"bitbucket-branch-source-plugin","full_name":"Eernie/bitbucket-branch-source-plugin","owner":{"login":"Eernie","id":2161662,"avatar_url":"https://avatars.githubusercontent.com/u/2161662?v=3","gravatar_id":"","url":"https://api.github.com/users/Eernie","html_url":"https://github.com/Eernie","followers_url":"https://api.github.com/users/Eernie/followers","following_url":"https://api.github.com/users/Eernie/following{/other_user}","gists_url":"https://api.github.com/users/Eernie/gists{/gist_id}","starred_url":"https://api.github.com/users/Eernie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eernie/subscriptions","organizations_url":"https://api.github.com/users/Eernie/orgs","repos_url":"https://api.github.com/users/Eernie/repos","events_url":"https://api.github.com/users/Eernie/events{/privacy}","received_events_url":"https://api.github.com/users/Eernie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eernie/bitbucket-branch-source-plugin","description":"Bitbucket Branch Source Plugin","fork":true,"url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin","forks_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/Eernie/bitbucket-branch-source-plugin/deployments","created_at":"2016-06-16T21:31:24Z","updated_at":"2016-06-16T21:31:25Z","pushed_at":"2016-06-30T22:04:51Z","git_url":"git://github.com/Eernie/bitbucket-branch-source-plugin.git","ssh_url":"git@github.com:Eernie/bitbucket-branch-source-plugin.git","clone_url":"https://github.com/Eernie/bitbucket-branch-source-plugin.git","svn_url":"https://github.com/Eernie/bitbucket-branch-source-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Branch+Source+Plugin","size":87,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"5babfed406d0f6883fc89b95cb3aa8688ae53df2","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":53688131,"name":"bitbucket-branch-source-plugin","full_name":"jenkinsci/bitbucket-branch-source-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin","description":"Bitbucket Branch Source Plugin","fork":true,"url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin","forks_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/deployments","created_at":"2016-03-11T18:28:58Z","updated_at":"2016-07-01T21:15:27Z","pushed_at":"2016-07-02T11:09:40Z","git_url":"git://github.com/jenkinsci/bitbucket-branch-source-plugin.git","ssh_url":"git@github.com:jenkinsci/bitbucket-branch-source-plugin.git","clone_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin.git","svn_url":"https://github.com/jenkinsci/bitbucket-branch-source-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Bitbucket+Branch+Source+Plugin","size":102,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5"},"html":{"href":"https://github.com/jenkinsci/bitbucket-branch-source-plugin/pull/5"},"issue":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/5"},"comments":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/bitbucket-branch-source-plugin/statuses/ac12eaa1b90215d9cc84d2c989bbee4d3a4d95c2"}}}}
{"actor":{"display_login":"amuniz"}}