{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32","id":41548418,"html_url":"https://github.com/jenkinsci/jenkins-scripts/pull/32","diff_url":"https://github.com/jenkinsci/jenkins-scripts/pull/32.diff","patch_url":"https://github.com/jenkinsci/jenkins-scripts/pull/32.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/32","number":32,"state":"closed","locked":false,"title":"scriptler script to purge old docker containers and images","user":{"login":"emilybache","id":48844,"avatar_url":"https://avatars.githubusercontent.com/u/48844?v=3","gravatar_id":"","url":"https://api.github.com/users/emilybache","html_url":"https://github.com/emilybache","followers_url":"https://api.github.com/users/emilybache/followers","following_url":"https://api.github.com/users/emilybache/following{/other_user}","gists_url":"https://api.github.com/users/emilybache/gists{/gist_id}","starred_url":"https://api.github.com/users/emilybache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilybache/subscriptions","organizations_url":"https://api.github.com/users/emilybache/orgs","repos_url":"https://api.github.com/users/emilybache/repos","events_url":"https://api.github.com/users/emilybache/events{/privacy}","received_events_url":"https://api.github.com/users/emilybache/received_events","type":"User","site_admin":false},"body":"This scriptler is useful to me, for purging docker containers and images from my slaves. I thought it might be worth sharing with others.","created_at":"2015-08-04T09:08:10Z","updated_at":"2015-08-20T07:22:39Z","closed_at":"2015-08-20T07:22:39Z","merged_at":"2015-08-20T07:22:39Z","merge_commit_sha":"0361177b6ad268a09748f76dae202a667211487b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/32/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/statuses/13e36551a8d5b7b4a6f123274f9188a18a3ecee3","head":{"label":"emilybache:master","ref":"master","sha":"13e36551a8d5b7b4a6f123274f9188a18a3ecee3","user":{"login":"emilybache","id":48844,"avatar_url":"https://avatars.githubusercontent.com/u/48844?v=3","gravatar_id":"","url":"https://api.github.com/users/emilybache","html_url":"https://github.com/emilybache","followers_url":"https://api.github.com/users/emilybache/followers","following_url":"https://api.github.com/users/emilybache/following{/other_user}","gists_url":"https://api.github.com/users/emilybache/gists{/gist_id}","starred_url":"https://api.github.com/users/emilybache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilybache/subscriptions","organizations_url":"https://api.github.com/users/emilybache/orgs","repos_url":"https://api.github.com/users/emilybache/repos","events_url":"https://api.github.com/users/emilybache/events{/privacy}","received_events_url":"https://api.github.com/users/emilybache/received_events","type":"User","site_admin":false},"repo":{"id":40174247,"name":"jenkins-scripts","full_name":"emilybache/jenkins-scripts","owner":{"login":"emilybache","id":48844,"avatar_url":"https://avatars.githubusercontent.com/u/48844?v=3","gravatar_id":"","url":"https://api.github.com/users/emilybache","html_url":"https://github.com/emilybache","followers_url":"https://api.github.com/users/emilybache/followers","following_url":"https://api.github.com/users/emilybache/following{/other_user}","gists_url":"https://api.github.com/users/emilybache/gists{/gist_id}","starred_url":"https://api.github.com/users/emilybache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilybache/subscriptions","organizations_url":"https://api.github.com/users/emilybache/orgs","repos_url":"https://api.github.com/users/emilybache/repos","events_url":"https://api.github.com/users/emilybache/events{/privacy}","received_events_url":"https://api.github.com/users/emilybache/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/emilybache/jenkins-scripts","description":"Scripts in Groovy, shell, Ruby, Python, whatever for managing/interacting with Jenkins","fork":true,"url":"https://api.github.com/repos/emilybache/jenkins-scripts","forks_url":"https://api.github.com/repos/emilybache/jenkins-scripts/forks","keys_url":"https://api.github.com/repos/emilybache/jenkins-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emilybache/jenkins-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emilybache/jenkins-scripts/teams","hooks_url":"https://api.github.com/repos/emilybache/jenkins-scripts/hooks","issue_events_url":"https://api.github.com/repos/emilybache/jenkins-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/emilybache/jenkins-scripts/events","assignees_url":"https://api.github.com/repos/emilybache/jenkins-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/emilybache/jenkins-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/emilybache/jenkins-scripts/tags","blobs_url":"https://api.github.com/repos/emilybache/jenkins-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emilybache/jenkins-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emilybache/jenkins-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/emilybache/jenkins-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emilybache/jenkins-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/emilybache/jenkins-scripts/languages","stargazers_url":"https://api.github.com/repos/emilybache/jenkins-scripts/stargazers","contributors_url":"https://api.github.com/repos/emilybache/jenkins-scripts/contributors","subscribers_url":"https://api.github.com/repos/emilybache/jenkins-scripts/subscribers","subscription_url":"https://api.github.com/repos/emilybache/jenkins-scripts/subscription","commits_url":"https://api.github.com/repos/emilybache/jenkins-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/emilybache/jenkins-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/emilybache/jenkins-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/emilybache/jenkins-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/emilybache/jenkins-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/emilybache/jenkins-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emilybache/jenkins-scripts/merges","archive_url":"https://api.github.com/repos/emilybache/jenkins-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emilybache/jenkins-scripts/downloads","issues_url":"https://api.github.com/repos/emilybache/jenkins-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/emilybache/jenkins-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/emilybache/jenkins-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/emilybache/jenkins-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emilybache/jenkins-scripts/labels{/name}","releases_url":"https://api.github.com/repos/emilybache/jenkins-scripts/releases{/id}","created_at":"2015-08-04T09:02:29Z","updated_at":"2015-08-04T09:02:30Z","pushed_at":"2015-08-04T09:52:25Z","git_url":"git://github.com/emilybache/jenkins-scripts.git","ssh_url":"git@github.com:emilybache/jenkins-scripts.git","clone_url":"https://github.com/emilybache/jenkins-scripts.git","svn_url":"https://github.com/emilybache/jenkins-scripts","homepage":"","size":153,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":"de5298676cd57d6944facb32369f65ba4087fcd2","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":2983981,"name":"jenkins-scripts","full_name":"jenkinsci/jenkins-scripts","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/jenkins-scripts","description":"Scripts in Groovy, shell, Ruby, Python, whatever for managing/interacting with Jenkins","fork":false,"url":"https://api.github.com/repos/jenkinsci/jenkins-scripts","forks_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins-scripts/releases{/id}","created_at":"2011-12-14T23:13:25Z","updated_at":"2015-08-12T13:24:34Z","pushed_at":"2015-08-20T07:22:38Z","git_url":"git://github.com/jenkinsci/jenkins-scripts.git","ssh_url":"git@github.com:jenkinsci/jenkins-scripts.git","clone_url":"https://github.com/jenkinsci/jenkins-scripts.git","svn_url":"https://github.com/jenkinsci/jenkins-scripts","homepage":"","size":356,"stargazers_count":130,"watchers_count":130,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":2,"forks":50,"open_issues":2,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32"},"html":{"href":"https://github.com/jenkinsci/jenkins-scripts/pull/32"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/32"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins-scripts/statuses/13e36551a8d5b7b4a6f123274f9188a18a3ecee3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"imod","id":543297,"avatar_url":"https://avatars.githubusercontent.com/u/543297?v=3","gravatar_id":"","url":"https://api.github.com/users/imod","html_url":"https://github.com/imod","followers_url":"https://api.github.com/users/imod/followers","following_url":"https://api.github.com/users/imod/following{/other_user}","gists_url":"https://api.github.com/users/imod/gists{/gist_id}","starred_url":"https://api.github.com/users/imod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imod/subscriptions","organizations_url":"https://api.github.com/users/imod/orgs","repos_url":"https://api.github.com/users/imod/repos","events_url":"https://api.github.com/users/imod/events{/privacy}","received_events_url":"https://api.github.com/users/imod/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":59,"deletions":0,"changed_files":2}}