{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1","id":45075417,"html_url":"https://github.com/DavidTanner/ghprb-plugin/pull/1","diff_url":"https://github.com/DavidTanner/ghprb-plugin/pull/1.diff","patch_url":"https://github.com/DavidTanner/ghprb-plugin/pull/1.patch","issue_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/1","number":1,"state":"closed","locked":false,"title":"use equals() and fix onBuildTriggered()","user":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"body":"We weren't checking for the \"--none--\" magic string in\r\nonBuildTriggered(), which caused the the commit status updating to fail.\r\nAlso use String.equals() to check the actual content of the string.","created_at":"2015-09-15T17:02:24Z","updated_at":"2015-09-22T02:39:03Z","closed_at":"2015-09-22T02:39:03Z","merged_at":null,"merge_commit_sha":"b3b15c29d2774d52bd0363ed04239918ed6cd424","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/statuses/e00d684319823974d8c089e536680434e50a5ba5","head":{"label":"jlebon:pr/fix-defaults","ref":"pr/fix-defaults","sha":"e00d684319823974d8c089e536680434e50a5ba5","user":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"repo":{"id":42533320,"name":"ghprb-plugin","full_name":"jlebon/ghprb-plugin","owner":{"login":"jlebon","id":11934099,"avatar_url":"https://avatars.githubusercontent.com/u/11934099?v=3","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlebon/ghprb-plugin","description":"github pull requests builder plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/jlebon/ghprb-plugin","forks_url":"https://api.github.com/repos/jlebon/ghprb-plugin/forks","keys_url":"https://api.github.com/repos/jlebon/ghprb-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlebon/ghprb-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlebon/ghprb-plugin/teams","hooks_url":"https://api.github.com/repos/jlebon/ghprb-plugin/hooks","issue_events_url":"https://api.github.com/repos/jlebon/ghprb-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jlebon/ghprb-plugin/events","assignees_url":"https://api.github.com/repos/jlebon/ghprb-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jlebon/ghprb-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jlebon/ghprb-plugin/tags","blobs_url":"https://api.github.com/repos/jlebon/ghprb-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlebon/ghprb-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlebon/ghprb-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlebon/ghprb-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlebon/ghprb-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jlebon/ghprb-plugin/languages","stargazers_url":"https://api.github.com/repos/jlebon/ghprb-plugin/stargazers","contributors_url":"https://api.github.com/repos/jlebon/ghprb-plugin/contributors","subscribers_url":"https://api.github.com/repos/jlebon/ghprb-plugin/subscribers","subscription_url":"https://api.github.com/repos/jlebon/ghprb-plugin/subscription","commits_url":"https://api.github.com/repos/jlebon/ghprb-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlebon/ghprb-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlebon/ghprb-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlebon/ghprb-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jlebon/ghprb-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jlebon/ghprb-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlebon/ghprb-plugin/merges","archive_url":"https://api.github.com/repos/jlebon/ghprb-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlebon/ghprb-plugin/downloads","issues_url":"https://api.github.com/repos/jlebon/ghprb-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jlebon/ghprb-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jlebon/ghprb-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jlebon/ghprb-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlebon/ghprb-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jlebon/ghprb-plugin/releases{/id}","created_at":"2015-09-15T16:54:54Z","updated_at":"2015-09-15T16:54:54Z","pushed_at":"2015-09-17T16:09:09Z","git_url":"git://github.com/jlebon/ghprb-plugin.git","ssh_url":"git@github.com:jlebon/ghprb-plugin.git","clone_url":"https://github.com/jlebon/ghprb-plugin.git","svn_url":"https://github.com/jlebon/ghprb-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin","size":1060,"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":"DavidTanner:defaults","ref":"defaults","sha":"e091c6da37c1ccd3b1fee4628f8ee2b2173fc681","user":{"login":"DavidTanner","id":368889,"avatar_url":"https://avatars.githubusercontent.com/u/368889?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTanner","html_url":"https://github.com/DavidTanner","followers_url":"https://api.github.com/users/DavidTanner/followers","following_url":"https://api.github.com/users/DavidTanner/following{/other_user}","gists_url":"https://api.github.com/users/DavidTanner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTanner/subscriptions","organizations_url":"https://api.github.com/users/DavidTanner/orgs","repos_url":"https://api.github.com/users/DavidTanner/repos","events_url":"https://api.github.com/users/DavidTanner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTanner/received_events","type":"User","site_admin":false},"repo":{"id":27563592,"name":"ghprb-plugin","full_name":"DavidTanner/ghprb-plugin","owner":{"login":"DavidTanner","id":368889,"avatar_url":"https://avatars.githubusercontent.com/u/368889?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTanner","html_url":"https://github.com/DavidTanner","followers_url":"https://api.github.com/users/DavidTanner/followers","following_url":"https://api.github.com/users/DavidTanner/following{/other_user}","gists_url":"https://api.github.com/users/DavidTanner/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTanner/subscriptions","organizations_url":"https://api.github.com/users/DavidTanner/orgs","repos_url":"https://api.github.com/users/DavidTanner/repos","events_url":"https://api.github.com/users/DavidTanner/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTanner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavidTanner/ghprb-plugin","description":"github pull requests builder plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/DavidTanner/ghprb-plugin","forks_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/forks","keys_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/teams","hooks_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/hooks","issue_events_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/events","assignees_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/tags","blobs_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/languages","stargazers_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/stargazers","contributors_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/contributors","subscribers_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/subscribers","subscription_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/subscription","commits_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/merges","archive_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/downloads","issues_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/labels{/name}","releases_url":"https://api.github.com/repos/DavidTanner/ghprb-plugin/releases{/id}","created_at":"2014-12-04T22:45:14Z","updated_at":"2015-05-07T02:40:33Z","pushed_at":"2015-09-22T02:39:03Z","git_url":"git://github.com/DavidTanner/ghprb-plugin.git","ssh_url":"git@github.com:DavidTanner/ghprb-plugin.git","clone_url":"https://github.com/DavidTanner/ghprb-plugin.git","svn_url":"https://github.com/DavidTanner/ghprb-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin","size":1266,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1"},"html":{"href":"https://github.com/DavidTanner/ghprb-plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/DavidTanner/ghprb-plugin/statuses/e00d684319823974d8c089e536680434e50a5ba5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":31,"deletions":8,"changed_files":6}}