{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3","id":38660490,"html_url":"https://github.com/alfredodeza/helga-jenkins/pull/3","diff_url":"https://github.com/alfredodeza/helga-jenkins/pull/3.diff","patch_url":"https://github.com/alfredodeza/helga-jenkins/pull/3.patch","issue_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/3","number":3,"state":"closed","locked":false,"title":"refactor JENKINS_URL setting and add tests","user":{"login":"ktdreyer","id":620295,"avatar_url":"https://avatars.githubusercontent.com/u/620295?v=3","gravatar_id":"","url":"https://api.github.com/users/ktdreyer","html_url":"https://github.com/ktdreyer","followers_url":"https://api.github.com/users/ktdreyer/followers","following_url":"https://api.github.com/users/ktdreyer/following{/other_user}","gists_url":"https://api.github.com/users/ktdreyer/gists{/gist_id}","starred_url":"https://api.github.com/users/ktdreyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktdreyer/subscriptions","organizations_url":"https://api.github.com/users/ktdreyer/orgs","repos_url":"https://api.github.com/users/ktdreyer/repos","events_url":"https://api.github.com/users/ktdreyer/events{/privacy}","received_events_url":"https://api.github.com/users/ktdreyer/received_events","type":"User","site_admin":false},"body":"Prior to this change, a missing `JENKINS_URL` setting would raise a `AttributeError` instead of a `RuntimeError` because we were not specifying a \"`None`\" default to `getattr()`\r\n\r\nRefactor the `JENKINS_URL` setting logic into its own function, and add unit tests.","created_at":"2015-06-26T15:26:55Z","updated_at":"2015-06-26T16:10:42Z","closed_at":"2015-06-26T16:10:42Z","merged_at":"2015-06-26T16:10:42Z","merge_commit_sha":"7b23492c3787cd004f71a486c38e8b8a2762564b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3/commits","review_comments_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3/comments","review_comment_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/3/comments","statuses_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/statuses/c8a85341079d62f03eb1b6e2fe5894f1494906f1","head":{"label":"ktdreyer:test-jenkins-url","ref":"test-jenkins-url","sha":"c8a85341079d62f03eb1b6e2fe5894f1494906f1","user":{"login":"ktdreyer","id":620295,"avatar_url":"https://avatars.githubusercontent.com/u/620295?v=3","gravatar_id":"","url":"https://api.github.com/users/ktdreyer","html_url":"https://github.com/ktdreyer","followers_url":"https://api.github.com/users/ktdreyer/followers","following_url":"https://api.github.com/users/ktdreyer/following{/other_user}","gists_url":"https://api.github.com/users/ktdreyer/gists{/gist_id}","starred_url":"https://api.github.com/users/ktdreyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktdreyer/subscriptions","organizations_url":"https://api.github.com/users/ktdreyer/orgs","repos_url":"https://api.github.com/users/ktdreyer/repos","events_url":"https://api.github.com/users/ktdreyer/events{/privacy}","received_events_url":"https://api.github.com/users/ktdreyer/received_events","type":"User","site_admin":false},"repo":{"id":35067543,"name":"helga-jenkins","full_name":"ktdreyer/helga-jenkins","owner":{"login":"ktdreyer","id":620295,"avatar_url":"https://avatars.githubusercontent.com/u/620295?v=3","gravatar_id":"","url":"https://api.github.com/users/ktdreyer","html_url":"https://github.com/ktdreyer","followers_url":"https://api.github.com/users/ktdreyer/followers","following_url":"https://api.github.com/users/ktdreyer/following{/other_user}","gists_url":"https://api.github.com/users/ktdreyer/gists{/gist_id}","starred_url":"https://api.github.com/users/ktdreyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktdreyer/subscriptions","organizations_url":"https://api.github.com/users/ktdreyer/orgs","repos_url":"https://api.github.com/users/ktdreyer/repos","events_url":"https://api.github.com/users/ktdreyer/events{/privacy}","received_events_url":"https://api.github.com/users/ktdreyer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktdreyer/helga-jenkins","description":"A Jenkins plugin for helga","fork":true,"url":"https://api.github.com/repos/ktdreyer/helga-jenkins","forks_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/forks","keys_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/teams","hooks_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/hooks","issue_events_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/events","assignees_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/tags","blobs_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/languages","stargazers_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/stargazers","contributors_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/contributors","subscribers_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/subscribers","subscription_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/subscription","commits_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/merges","archive_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/downloads","issues_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/ktdreyer/helga-jenkins/releases{/id}","created_at":"2015-05-05T00:15:02Z","updated_at":"2015-05-05T00:15:03Z","pushed_at":"2015-06-26T15:26:08Z","git_url":"git://github.com/ktdreyer/helga-jenkins.git","ssh_url":"git@github.com:ktdreyer/helga-jenkins.git","clone_url":"https://github.com/ktdreyer/helga-jenkins.git","svn_url":"https://github.com/ktdreyer/helga-jenkins","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"alfredodeza:master","ref":"master","sha":"08f63fa545f6673f75c8772fdaf25e2f45a8f0cb","user":{"login":"alfredodeza","id":317847,"avatar_url":"https://avatars.githubusercontent.com/u/317847?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredodeza","html_url":"https://github.com/alfredodeza","followers_url":"https://api.github.com/users/alfredodeza/followers","following_url":"https://api.github.com/users/alfredodeza/following{/other_user}","gists_url":"https://api.github.com/users/alfredodeza/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredodeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredodeza/subscriptions","organizations_url":"https://api.github.com/users/alfredodeza/orgs","repos_url":"https://api.github.com/users/alfredodeza/repos","events_url":"https://api.github.com/users/alfredodeza/events{/privacy}","received_events_url":"https://api.github.com/users/alfredodeza/received_events","type":"User","site_admin":false},"repo":{"id":34229899,"name":"helga-jenkins","full_name":"alfredodeza/helga-jenkins","owner":{"login":"alfredodeza","id":317847,"avatar_url":"https://avatars.githubusercontent.com/u/317847?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredodeza","html_url":"https://github.com/alfredodeza","followers_url":"https://api.github.com/users/alfredodeza/followers","following_url":"https://api.github.com/users/alfredodeza/following{/other_user}","gists_url":"https://api.github.com/users/alfredodeza/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredodeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredodeza/subscriptions","organizations_url":"https://api.github.com/users/alfredodeza/orgs","repos_url":"https://api.github.com/users/alfredodeza/repos","events_url":"https://api.github.com/users/alfredodeza/events{/privacy}","received_events_url":"https://api.github.com/users/alfredodeza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfredodeza/helga-jenkins","description":"A Jenkins plugin for helga","fork":false,"url":"https://api.github.com/repos/alfredodeza/helga-jenkins","forks_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/forks","keys_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/teams","hooks_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/hooks","issue_events_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/events","assignees_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/tags","blobs_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/languages","stargazers_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/stargazers","contributors_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/contributors","subscribers_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/subscribers","subscription_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/subscription","commits_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/merges","archive_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/downloads","issues_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/alfredodeza/helga-jenkins/releases{/id}","created_at":"2015-04-20T00:30:04Z","updated_at":"2015-04-24T15:27:54Z","pushed_at":"2015-06-26T16:10:42Z","git_url":"git://github.com/alfredodeza/helga-jenkins.git","ssh_url":"git@github.com:alfredodeza/helga-jenkins.git","clone_url":"https://github.com/alfredodeza/helga-jenkins.git","svn_url":"https://github.com/alfredodeza/helga-jenkins","homepage":null,"size":200,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3"},"html":{"href":"https://github.com/alfredodeza/helga-jenkins/pull/3"},"issue":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/3"},"comments":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/alfredodeza/helga-jenkins/statuses/c8a85341079d62f03eb1b6e2fe5894f1494906f1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alfredodeza","id":317847,"avatar_url":"https://avatars.githubusercontent.com/u/317847?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredodeza","html_url":"https://github.com/alfredodeza","followers_url":"https://api.github.com/users/alfredodeza/followers","following_url":"https://api.github.com/users/alfredodeza/following{/other_user}","gists_url":"https://api.github.com/users/alfredodeza/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredodeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredodeza/subscriptions","organizations_url":"https://api.github.com/users/alfredodeza/orgs","repos_url":"https://api.github.com/users/alfredodeza/repos","events_url":"https://api.github.com/users/alfredodeza/events{/privacy}","received_events_url":"https://api.github.com/users/alfredodeza/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":3,"changed_files":2}}