{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3","id":26631977,"html_url":"https://github.com/yosida95/golang-jenkins/pull/3","diff_url":"https://github.com/yosida95/golang-jenkins/pull/3.diff","patch_url":"https://github.com/yosida95/golang-jenkins/pull/3.patch","issue_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/3","number":3,"state":"closed","locked":false,"title":"support getting the console output for a build","user":{"login":"DanielBryan","id":615299,"avatar_url":"https://avatars.githubusercontent.com/u/615299?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielBryan","html_url":"https://github.com/DanielBryan","followers_url":"https://api.github.com/users/DanielBryan/followers","following_url":"https://api.github.com/users/DanielBryan/following{/other_user}","gists_url":"https://api.github.com/users/DanielBryan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielBryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielBryan/subscriptions","organizations_url":"https://api.github.com/users/DanielBryan/orgs","repos_url":"https://api.github.com/users/DanielBryan/repos","events_url":"https://api.github.com/users/DanielBryan/events{/privacy}","received_events_url":"https://api.github.com/users/DanielBryan/received_events","type":"User","site_admin":false},"body":"This adds support for getting console output from a build.\r\n\r\nI elected not to support offsets as it added needless complexity.\r\n\r\nInstead of using the `jenkins.get()` helper which builds the URL, I had to just use the `buildUrl` property on the Build object - otherwise it's difficult to infer the correct URL.","created_at":"2014-12-29T04:31:50Z","updated_at":"2015-01-28T03:33:42Z","closed_at":"2015-01-28T03:33:42Z","merged_at":"2015-01-28T03:33:42Z","merge_commit_sha":"b0708767c3ec0b12296ef956aaf5759ce3e07001","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3/commits","review_comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3/comments","review_comment_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/comments/{number}","comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/3/comments","statuses_url":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/7e4e01d77d2f28486edbfac0bce7b3936fcbfdaf","head":{"label":"DanielBryan:master","ref":"master","sha":"7e4e01d77d2f28486edbfac0bce7b3936fcbfdaf","user":{"login":"DanielBryan","id":615299,"avatar_url":"https://avatars.githubusercontent.com/u/615299?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielBryan","html_url":"https://github.com/DanielBryan","followers_url":"https://api.github.com/users/DanielBryan/followers","following_url":"https://api.github.com/users/DanielBryan/following{/other_user}","gists_url":"https://api.github.com/users/DanielBryan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielBryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielBryan/subscriptions","organizations_url":"https://api.github.com/users/DanielBryan/orgs","repos_url":"https://api.github.com/users/DanielBryan/repos","events_url":"https://api.github.com/users/DanielBryan/events{/privacy}","received_events_url":"https://api.github.com/users/DanielBryan/received_events","type":"User","site_admin":false},"repo":{"id":28378174,"name":"golang-jenkins","full_name":"DanielBryan/golang-jenkins","owner":{"login":"DanielBryan","id":615299,"avatar_url":"https://avatars.githubusercontent.com/u/615299?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielBryan","html_url":"https://github.com/DanielBryan","followers_url":"https://api.github.com/users/DanielBryan/followers","following_url":"https://api.github.com/users/DanielBryan/following{/other_user}","gists_url":"https://api.github.com/users/DanielBryan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielBryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielBryan/subscriptions","organizations_url":"https://api.github.com/users/DanielBryan/orgs","repos_url":"https://api.github.com/users/DanielBryan/repos","events_url":"https://api.github.com/users/DanielBryan/events{/privacy}","received_events_url":"https://api.github.com/users/DanielBryan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielBryan/golang-jenkins","description":"API client of Jenkins API written in Go","fork":true,"url":"https://api.github.com/repos/DanielBryan/golang-jenkins","forks_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/forks","keys_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/teams","hooks_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/hooks","issue_events_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/events","assignees_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/tags","blobs_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/languages","stargazers_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/stargazers","contributors_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/contributors","subscribers_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/subscribers","subscription_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/subscription","commits_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/issues/comments/{number}","contents_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/merges","archive_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/downloads","issues_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/DanielBryan/golang-jenkins/releases{/id}","created_at":"2014-12-23T04:55:55Z","updated_at":"2014-12-31T03:40:09Z","pushed_at":"2014-12-31T03:40:09Z","git_url":"git://github.com/DanielBryan/golang-jenkins.git","ssh_url":"git@github.com:DanielBryan/golang-jenkins.git","clone_url":"https://github.com/DanielBryan/golang-jenkins.git","svn_url":"https://github.com/DanielBryan/golang-jenkins","homepage":"http://godoc.org/github.com/yosida95/golang-jenkins","size":125,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"yosida95:master","ref":"master","sha":"48bbe7d9d6cfb52c4347941227d453660dfe52dc","user":{"login":"yosida95","id":767275,"avatar_url":"https://avatars.githubusercontent.com/u/767275?v=3","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"repo":{"id":21792938,"name":"golang-jenkins","full_name":"yosida95/golang-jenkins","owner":{"login":"yosida95","id":767275,"avatar_url":"https://avatars.githubusercontent.com/u/767275?v=3","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yosida95/golang-jenkins","description":"API client of Jenkins API written in Go","fork":false,"url":"https://api.github.com/repos/yosida95/golang-jenkins","forks_url":"https://api.github.com/repos/yosida95/golang-jenkins/forks","keys_url":"https://api.github.com/repos/yosida95/golang-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yosida95/golang-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yosida95/golang-jenkins/teams","hooks_url":"https://api.github.com/repos/yosida95/golang-jenkins/hooks","issue_events_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/yosida95/golang-jenkins/events","assignees_url":"https://api.github.com/repos/yosida95/golang-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/yosida95/golang-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/yosida95/golang-jenkins/tags","blobs_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/yosida95/golang-jenkins/languages","stargazers_url":"https://api.github.com/repos/yosida95/golang-jenkins/stargazers","contributors_url":"https://api.github.com/repos/yosida95/golang-jenkins/contributors","subscribers_url":"https://api.github.com/repos/yosida95/golang-jenkins/subscribers","subscription_url":"https://api.github.com/repos/yosida95/golang-jenkins/subscription","commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/comments/{number}","contents_url":"https://api.github.com/repos/yosida95/golang-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/yosida95/golang-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yosida95/golang-jenkins/merges","archive_url":"https://api.github.com/repos/yosida95/golang-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yosida95/golang-jenkins/downloads","issues_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/yosida95/golang-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/yosida95/golang-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yosida95/golang-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/yosida95/golang-jenkins/releases{/id}","created_at":"2014-07-13T15:02:05Z","updated_at":"2015-01-20T15:41:20Z","pushed_at":"2015-01-28T03:33:42Z","git_url":"git://github.com/yosida95/golang-jenkins.git","ssh_url":"git@github.com:yosida95/golang-jenkins.git","clone_url":"https://github.com/yosida95/golang-jenkins.git","svn_url":"https://github.com/yosida95/golang-jenkins","homepage":"http://godoc.org/github.com/yosida95/golang-jenkins","size":230,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3"},"html":{"href":"https://github.com/yosida95/golang-jenkins/pull/3"},"issue":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/issues/3"},"comments":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/7e4e01d77d2f28486edbfac0bce7b3936fcbfdaf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yosida95","id":767275,"avatar_url":"https://avatars.githubusercontent.com/u/767275?v=3","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":17,"deletions":0,"changed_files":1}}