{"action":"closed","number":142,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/docker/pulls/142","id":43433980,"html_url":"https://github.com/jenkinsci/docker/pull/142","diff_url":"https://github.com/jenkinsci/docker/pull/142.diff","patch_url":"https://github.com/jenkinsci/docker/pull/142.patch","issue_url":"https://api.github.com/repos/jenkinsci/docker/issues/142","number":142,"state":"closed","locked":false,"title":"A demo on how to organize multiple jenkins environment","user":{"login":"vvitayau","id":566629,"avatar_url":"https://avatars.githubusercontent.com/u/566629?v=3","gravatar_id":"","url":"https://api.github.com/users/vvitayau","html_url":"https://github.com/vvitayau","followers_url":"https://api.github.com/users/vvitayau/followers","following_url":"https://api.github.com/users/vvitayau/following{/other_user}","gists_url":"https://api.github.com/users/vvitayau/gists{/gist_id}","starred_url":"https://api.github.com/users/vvitayau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvitayau/subscriptions","organizations_url":"https://api.github.com/users/vvitayau/orgs","repos_url":"https://api.github.com/users/vvitayau/repos","events_url":"https://api.github.com/users/vvitayau/events{/privacy}","received_events_url":"https://api.github.com/users/vvitayau/received_events","type":"User","site_admin":false},"body":"A demo on how to organize multiple jenkins environment where each can specify its own jenkins version, plugins, and groovy script to invoke on setup.\r\n\r\n - ./config/&lt;your machine&gt;/docker-compose.yml simplify the set of parameters and flags to pass to docker run\r\n - ./config/&lt;your machine&gt;/Dockerfile is based on FROM jenkins:1.609.2 ... edit version if a different one is desired for your image\r\n - ./config/&lt;your machine&gt;/plugins.txt to specify which plugins should be downloaded into /usr/share/jenkins/ref/plugins/ as part of the image\r\n - ./config/&lt;your machine&gt;/*.groovy scripts to be excuted in /usr/share/jenkins/ref/init.groovy.d/ during startup as part of the image\r\n\r\n### Recommend build with no-cache to avoid using old image\r\n```\r\ncd config/example\r\ndocker-compose build --no-cache\r\n```\r\n\r\n### Run jenkins in daemon mode\r\n```\r\ncd config/example\r\ndocker-compose up -d\r\n```\r\n","created_at":"2015-08-26T18:16:33Z","updated_at":"2015-10-09T20:35:39Z","closed_at":"2015-10-09T20:35:39Z","merged_at":null,"merge_commit_sha":"c47100cfc49dd5b452721bda5dba06d967c33270","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/docker/pulls/142/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/docker/pulls/142/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/docker/issues/142/comments","statuses_url":"https://api.github.com/repos/jenkinsci/docker/statuses/3e7306a848eaab17dd4d8a21d2fb888ceee61115","head":{"label":"vvitayau:patch-4","ref":"patch-4","sha":"3e7306a848eaab17dd4d8a21d2fb888ceee61115","user":{"login":"vvitayau","id":566629,"avatar_url":"https://avatars.githubusercontent.com/u/566629?v=3","gravatar_id":"","url":"https://api.github.com/users/vvitayau","html_url":"https://github.com/vvitayau","followers_url":"https://api.github.com/users/vvitayau/followers","following_url":"https://api.github.com/users/vvitayau/following{/other_user}","gists_url":"https://api.github.com/users/vvitayau/gists{/gist_id}","starred_url":"https://api.github.com/users/vvitayau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvitayau/subscriptions","organizations_url":"https://api.github.com/users/vvitayau/orgs","repos_url":"https://api.github.com/users/vvitayau/repos","events_url":"https://api.github.com/users/vvitayau/events{/privacy}","received_events_url":"https://api.github.com/users/vvitayau/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"jenkinsci:master","ref":"master","sha":"9395d3fdd74cd43f03b1844fbb0c3e48d713cbc1","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":21969270,"name":"docker","full_name":"jenkinsci/docker","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/docker","description":"Docker official jenkins repo","fork":true,"url":"https://api.github.com/repos/jenkinsci/docker","forks_url":"https://api.github.com/repos/jenkinsci/docker/forks","keys_url":"https://api.github.com/repos/jenkinsci/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/docker/teams","hooks_url":"https://api.github.com/repos/jenkinsci/docker/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/docker/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/docker/events","assignees_url":"https://api.github.com/repos/jenkinsci/docker/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/docker/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/docker/tags","blobs_url":"https://api.github.com/repos/jenkinsci/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/docker/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/docker/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/docker/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/docker/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/docker/subscription","commits_url":"https://api.github.com/repos/jenkinsci/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/docker/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/docker/merges","archive_url":"https://api.github.com/repos/jenkinsci/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/docker/downloads","issues_url":"https://api.github.com/repos/jenkinsci/docker/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/docker/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/docker/releases{/id}","created_at":"2014-07-18T05:51:05Z","updated_at":"2015-10-09T14:43:54Z","pushed_at":"2015-09-29T08:20:05Z","git_url":"git://github.com/jenkinsci/docker.git","ssh_url":"git@github.com:jenkinsci/docker.git","clone_url":"https://github.com/jenkinsci/docker.git","svn_url":"https://github.com/jenkinsci/docker","homepage":"https://hub.docker.com","size":1016,"stargazers_count":349,"watchers_count":349,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":283,"mirror_url":null,"open_issues_count":7,"forks":283,"open_issues":7,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/docker/pulls/142"},"html":{"href":"https://github.com/jenkinsci/docker/pull/142"},"issue":{"href":"https://api.github.com/repos/jenkinsci/docker/issues/142"},"comments":{"href":"https://api.github.com/repos/jenkinsci/docker/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/docker/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/docker/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/docker/statuses/3e7306a848eaab17dd4d8a21d2fb888ceee61115"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":2,"additions":80,"deletions":0,"changed_files":5}}