{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12","id":30491683,"html_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests/pull/12","diff_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests/pull/12.diff","patch_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests/pull/12.patch","issue_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/12","number":12,"state":"closed","locked":false,"title":"Clean up repo before checkout","user":{"login":"rzenker","id":1151721,"avatar_url":"https://avatars.githubusercontent.com/u/1151721?v=3","gravatar_id":"","url":"https://api.github.com/users/rzenker","html_url":"https://github.com/rzenker","followers_url":"https://api.github.com/users/rzenker/followers","following_url":"https://api.github.com/users/rzenker/following{/other_user}","gists_url":"https://api.github.com/users/rzenker/gists{/gist_id}","starred_url":"https://api.github.com/users/rzenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzenker/subscriptions","organizations_url":"https://api.github.com/users/rzenker/orgs","repos_url":"https://api.github.com/users/rzenker/repos","events_url":"https://api.github.com/users/rzenker/events{/privacy}","received_events_url":"https://api.github.com/users/rzenker/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-04T18:37:32Z","updated_at":"2015-03-05T18:06:20Z","closed_at":"2015-03-05T18:06:20Z","merged_at":"2015-03-05T18:06:20Z","merge_commit_sha":"2deaf0fe4afb809ed8c812240fd5f437582df90f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/12/comments","statuses_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/statuses/5450995376306b7221493ba7b5fdb44c55179948","head":{"label":"rzenker:tb/clean_before_checkout","ref":"tb/clean_before_checkout","sha":"5450995376306b7221493ba7b5fdb44c55179948","user":{"login":"rzenker","id":1151721,"avatar_url":"https://avatars.githubusercontent.com/u/1151721?v=3","gravatar_id":"","url":"https://api.github.com/users/rzenker","html_url":"https://github.com/rzenker","followers_url":"https://api.github.com/users/rzenker/followers","following_url":"https://api.github.com/users/rzenker/following{/other_user}","gists_url":"https://api.github.com/users/rzenker/gists{/gist_id}","starred_url":"https://api.github.com/users/rzenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzenker/subscriptions","organizations_url":"https://api.github.com/users/rzenker/orgs","repos_url":"https://api.github.com/users/rzenker/repos","events_url":"https://api.github.com/users/rzenker/events{/privacy}","received_events_url":"https://api.github.com/users/rzenker/received_events","type":"User","site_admin":false},"repo":{"id":31627926,"name":"gocd-build-github-pull-requests","full_name":"rzenker/gocd-build-github-pull-requests","owner":{"login":"rzenker","id":1151721,"avatar_url":"https://avatars.githubusercontent.com/u/1151721?v=3","gravatar_id":"","url":"https://api.github.com/users/rzenker","html_url":"https://github.com/rzenker","followers_url":"https://api.github.com/users/rzenker/followers","following_url":"https://api.github.com/users/rzenker/following{/other_user}","gists_url":"https://api.github.com/users/rzenker/gists{/gist_id}","starred_url":"https://api.github.com/users/rzenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzenker/subscriptions","organizations_url":"https://api.github.com/users/rzenker/orgs","repos_url":"https://api.github.com/users/rzenker/repos","events_url":"https://api.github.com/users/rzenker/events{/privacy}","received_events_url":"https://api.github.com/users/rzenker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rzenker/gocd-build-github-pull-requests","description":"GoCD plugin to build PRs for a Github repo","fork":true,"url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests","forks_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/forks","keys_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/teams","hooks_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/hooks","issue_events_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/issues/events{/number}","events_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/events","assignees_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/assignees{/user}","branches_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/branches{/branch}","tags_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/tags","blobs_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/statuses/{sha}","languages_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/languages","stargazers_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/stargazers","contributors_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/contributors","subscribers_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/subscribers","subscription_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/subscription","commits_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/contents/{+path}","compare_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/merges","archive_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/downloads","issues_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/issues{/number}","pulls_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/pulls{/number}","milestones_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/milestones{/number}","notifications_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/labels{/name}","releases_url":"https://api.github.com/repos/rzenker/gocd-build-github-pull-requests/releases{/id}","created_at":"2015-03-03T23:49:24Z","updated_at":"2015-03-03T23:49:24Z","pushed_at":"2015-03-04T18:36:42Z","git_url":"git://github.com/rzenker/gocd-build-github-pull-requests.git","ssh_url":"git@github.com:rzenker/gocd-build-github-pull-requests.git","clone_url":"https://github.com/rzenker/gocd-build-github-pull-requests.git","svn_url":"https://github.com/rzenker/gocd-build-github-pull-requests","homepage":"","size":252,"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":"ashwanthkumar:master","ref":"master","sha":"15c0c7c8df784f9ac95e646eb8e9eeb4d8b251b6","user":{"login":"ashwanthkumar","id":600279,"avatar_url":"https://avatars.githubusercontent.com/u/600279?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwanthkumar","html_url":"https://github.com/ashwanthkumar","followers_url":"https://api.github.com/users/ashwanthkumar/followers","following_url":"https://api.github.com/users/ashwanthkumar/following{/other_user}","gists_url":"https://api.github.com/users/ashwanthkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwanthkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwanthkumar/subscriptions","organizations_url":"https://api.github.com/users/ashwanthkumar/orgs","repos_url":"https://api.github.com/users/ashwanthkumar/repos","events_url":"https://api.github.com/users/ashwanthkumar/events{/privacy}","received_events_url":"https://api.github.com/users/ashwanthkumar/received_events","type":"User","site_admin":false},"repo":{"id":30310769,"name":"gocd-build-github-pull-requests","full_name":"ashwanthkumar/gocd-build-github-pull-requests","owner":{"login":"ashwanthkumar","id":600279,"avatar_url":"https://avatars.githubusercontent.com/u/600279?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwanthkumar","html_url":"https://github.com/ashwanthkumar","followers_url":"https://api.github.com/users/ashwanthkumar/followers","following_url":"https://api.github.com/users/ashwanthkumar/following{/other_user}","gists_url":"https://api.github.com/users/ashwanthkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwanthkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwanthkumar/subscriptions","organizations_url":"https://api.github.com/users/ashwanthkumar/orgs","repos_url":"https://api.github.com/users/ashwanthkumar/repos","events_url":"https://api.github.com/users/ashwanthkumar/events{/privacy}","received_events_url":"https://api.github.com/users/ashwanthkumar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests","description":"GoCD plugin to build PRs for a Github repo","fork":false,"url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests","forks_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/forks","keys_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/teams","hooks_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/hooks","issue_events_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/events{/number}","events_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/events","assignees_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/assignees{/user}","branches_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/branches{/branch}","tags_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/tags","blobs_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/statuses/{sha}","languages_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/languages","stargazers_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/stargazers","contributors_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/contributors","subscribers_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/subscribers","subscription_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/subscription","commits_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/contents/{+path}","compare_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/merges","archive_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/downloads","issues_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues{/number}","pulls_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls{/number}","milestones_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/milestones{/number}","notifications_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/labels{/name}","releases_url":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/releases{/id}","created_at":"2015-02-04T17:13:44Z","updated_at":"2015-03-04T05:13:42Z","pushed_at":"2015-03-05T18:06:20Z","git_url":"git://github.com/ashwanthkumar/gocd-build-github-pull-requests.git","ssh_url":"git@github.com:ashwanthkumar/gocd-build-github-pull-requests.git","clone_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests.git","svn_url":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests","homepage":"","size":252,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12"},"html":{"href":"https://github.com/ashwanthkumar/gocd-build-github-pull-requests/pull/12"},"issue":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/12"},"comments":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ashwanthkumar/gocd-build-github-pull-requests/statuses/5450995376306b7221493ba7b5fdb44c55179948"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ashwanthkumar","id":600279,"avatar_url":"https://avatars.githubusercontent.com/u/600279?v=3","gravatar_id":"","url":"https://api.github.com/users/ashwanthkumar","html_url":"https://github.com/ashwanthkumar","followers_url":"https://api.github.com/users/ashwanthkumar/followers","following_url":"https://api.github.com/users/ashwanthkumar/following{/other_user}","gists_url":"https://api.github.com/users/ashwanthkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwanthkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwanthkumar/subscriptions","organizations_url":"https://api.github.com/users/ashwanthkumar/orgs","repos_url":"https://api.github.com/users/ashwanthkumar/repos","events_url":"https://api.github.com/users/ashwanthkumar/events{/privacy}","received_events_url":"https://api.github.com/users/ashwanthkumar/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":2}}