{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/pingworks/dash/pulls/14","id":47788362,"html_url":"https://github.com/pingworks/dash/pull/14","diff_url":"https://github.com/pingworks/dash/pull/14.diff","patch_url":"https://github.com/pingworks/dash/pull/14.patch","issue_url":"https://api.github.com/repos/pingworks/dash/issues/14","number":14,"state":"closed","locked":false,"title":"Fail if more than one bundle is found","user":{"login":"marvinthepa","id":51218,"avatar_url":"https://avatars.githubusercontent.com/u/51218?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinthepa","html_url":"https://github.com/marvinthepa","followers_url":"https://api.github.com/users/marvinthepa/followers","following_url":"https://api.github.com/users/marvinthepa/following{/other_user}","gists_url":"https://api.github.com/users/marvinthepa/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinthepa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinthepa/subscriptions","organizations_url":"https://api.github.com/users/marvinthepa/orgs","repos_url":"https://api.github.com/users/marvinthepa/repos","events_url":"https://api.github.com/users/marvinthepa/events{/privacy}","received_events_url":"https://api.github.com/users/marvinthepa/received_events","type":"User","site_admin":false},"body":"If you throw away jenkins without re-provisioning dash, you get duplicate BUNDLE identifiers, and all hell breaks loose:\r\n* find finds more than one directory\r\n* the variable $BUNDLE_FOLDER contains one or more newlines\r\n* as it is used in a quoted way later in addMetadata, bash interprets this as two commands instead of one\r\n** the first one does not have enough arguments\r\n** the second one is not executable, as it is a bundle folder\r\n\r\n-> It is preferable to fail earlier.\r\n\r\nI don't know enough about the setup if there is a smarter choice, i.e. if more than one bundle is found, use the \"right\" one - maybe by using the one that was created later?","created_at":"2015-10-15T13:49:08Z","updated_at":"2015-10-30T06:57:37Z","closed_at":"2015-10-30T06:57:37Z","merged_at":"2015-10-30T06:57:37Z","merge_commit_sha":"2ff3da0003cd3d728442e45a08391aac30530845","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pingworks/dash/pulls/14/commits","review_comments_url":"https://api.github.com/repos/pingworks/dash/pulls/14/comments","review_comment_url":"https://api.github.com/repos/pingworks/dash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingworks/dash/issues/14/comments","statuses_url":"https://api.github.com/repos/pingworks/dash/statuses/4c88e69775cc89fdac60aefb0603b0555a983044","head":{"label":"marvinthepa:bugfix/die-if-multiple-bundle-folders-found","ref":"bugfix/die-if-multiple-bundle-folders-found","sha":"4c88e69775cc89fdac60aefb0603b0555a983044","user":{"login":"marvinthepa","id":51218,"avatar_url":"https://avatars.githubusercontent.com/u/51218?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinthepa","html_url":"https://github.com/marvinthepa","followers_url":"https://api.github.com/users/marvinthepa/followers","following_url":"https://api.github.com/users/marvinthepa/following{/other_user}","gists_url":"https://api.github.com/users/marvinthepa/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinthepa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinthepa/subscriptions","organizations_url":"https://api.github.com/users/marvinthepa/orgs","repos_url":"https://api.github.com/users/marvinthepa/repos","events_url":"https://api.github.com/users/marvinthepa/events{/privacy}","received_events_url":"https://api.github.com/users/marvinthepa/received_events","type":"User","site_admin":false},"repo":{"id":44316558,"name":"dash","full_name":"marvinthepa/dash","owner":{"login":"marvinthepa","id":51218,"avatar_url":"https://avatars.githubusercontent.com/u/51218?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinthepa","html_url":"https://github.com/marvinthepa","followers_url":"https://api.github.com/users/marvinthepa/followers","following_url":"https://api.github.com/users/marvinthepa/following{/other_user}","gists_url":"https://api.github.com/users/marvinthepa/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinthepa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinthepa/subscriptions","organizations_url":"https://api.github.com/users/marvinthepa/orgs","repos_url":"https://api.github.com/users/marvinthepa/repos","events_url":"https://api.github.com/users/marvinthepa/events{/privacy}","received_events_url":"https://api.github.com/users/marvinthepa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marvinthepa/dash","description":"pingworks Continuous Delivery Dashboard","fork":true,"url":"https://api.github.com/repos/marvinthepa/dash","forks_url":"https://api.github.com/repos/marvinthepa/dash/forks","keys_url":"https://api.github.com/repos/marvinthepa/dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marvinthepa/dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marvinthepa/dash/teams","hooks_url":"https://api.github.com/repos/marvinthepa/dash/hooks","issue_events_url":"https://api.github.com/repos/marvinthepa/dash/issues/events{/number}","events_url":"https://api.github.com/repos/marvinthepa/dash/events","assignees_url":"https://api.github.com/repos/marvinthepa/dash/assignees{/user}","branches_url":"https://api.github.com/repos/marvinthepa/dash/branches{/branch}","tags_url":"https://api.github.com/repos/marvinthepa/dash/tags","blobs_url":"https://api.github.com/repos/marvinthepa/dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marvinthepa/dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marvinthepa/dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/marvinthepa/dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marvinthepa/dash/statuses/{sha}","languages_url":"https://api.github.com/repos/marvinthepa/dash/languages","stargazers_url":"https://api.github.com/repos/marvinthepa/dash/stargazers","contributors_url":"https://api.github.com/repos/marvinthepa/dash/contributors","subscribers_url":"https://api.github.com/repos/marvinthepa/dash/subscribers","subscription_url":"https://api.github.com/repos/marvinthepa/dash/subscription","commits_url":"https://api.github.com/repos/marvinthepa/dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/marvinthepa/dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/marvinthepa/dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/marvinthepa/dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/marvinthepa/dash/contents/{+path}","compare_url":"https://api.github.com/repos/marvinthepa/dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marvinthepa/dash/merges","archive_url":"https://api.github.com/repos/marvinthepa/dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marvinthepa/dash/downloads","issues_url":"https://api.github.com/repos/marvinthepa/dash/issues{/number}","pulls_url":"https://api.github.com/repos/marvinthepa/dash/pulls{/number}","milestones_url":"https://api.github.com/repos/marvinthepa/dash/milestones{/number}","notifications_url":"https://api.github.com/repos/marvinthepa/dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marvinthepa/dash/labels{/name}","releases_url":"https://api.github.com/repos/marvinthepa/dash/releases{/id}","created_at":"2015-10-15T12:41:49Z","updated_at":"2015-10-15T12:42:04Z","pushed_at":"2015-10-20T12:38:29Z","git_url":"git://github.com/marvinthepa/dash.git","ssh_url":"git@github.com:marvinthepa/dash.git","clone_url":"https://github.com/marvinthepa/dash.git","svn_url":"https://github.com/marvinthepa/dash","homepage":null,"size":35575,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"pingworks:master","ref":"master","sha":"a0fb148ebba1dd3780214856025328a65aab228f","user":{"login":"pingworks","id":3931645,"avatar_url":"https://avatars.githubusercontent.com/u/3931645?v=3","gravatar_id":"","url":"https://api.github.com/users/pingworks","html_url":"https://github.com/pingworks","followers_url":"https://api.github.com/users/pingworks/followers","following_url":"https://api.github.com/users/pingworks/following{/other_user}","gists_url":"https://api.github.com/users/pingworks/gists{/gist_id}","starred_url":"https://api.github.com/users/pingworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingworks/subscriptions","organizations_url":"https://api.github.com/users/pingworks/orgs","repos_url":"https://api.github.com/users/pingworks/repos","events_url":"https://api.github.com/users/pingworks/events{/privacy}","received_events_url":"https://api.github.com/users/pingworks/received_events","type":"Organization","site_admin":false},"repo":{"id":9690619,"name":"dash","full_name":"pingworks/dash","owner":{"login":"pingworks","id":3931645,"avatar_url":"https://avatars.githubusercontent.com/u/3931645?v=3","gravatar_id":"","url":"https://api.github.com/users/pingworks","html_url":"https://github.com/pingworks","followers_url":"https://api.github.com/users/pingworks/followers","following_url":"https://api.github.com/users/pingworks/following{/other_user}","gists_url":"https://api.github.com/users/pingworks/gists{/gist_id}","starred_url":"https://api.github.com/users/pingworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingworks/subscriptions","organizations_url":"https://api.github.com/users/pingworks/orgs","repos_url":"https://api.github.com/users/pingworks/repos","events_url":"https://api.github.com/users/pingworks/events{/privacy}","received_events_url":"https://api.github.com/users/pingworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingworks/dash","description":"pingworks Continuous Delivery Dashboard","fork":false,"url":"https://api.github.com/repos/pingworks/dash","forks_url":"https://api.github.com/repos/pingworks/dash/forks","keys_url":"https://api.github.com/repos/pingworks/dash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingworks/dash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingworks/dash/teams","hooks_url":"https://api.github.com/repos/pingworks/dash/hooks","issue_events_url":"https://api.github.com/repos/pingworks/dash/issues/events{/number}","events_url":"https://api.github.com/repos/pingworks/dash/events","assignees_url":"https://api.github.com/repos/pingworks/dash/assignees{/user}","branches_url":"https://api.github.com/repos/pingworks/dash/branches{/branch}","tags_url":"https://api.github.com/repos/pingworks/dash/tags","blobs_url":"https://api.github.com/repos/pingworks/dash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingworks/dash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingworks/dash/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingworks/dash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingworks/dash/statuses/{sha}","languages_url":"https://api.github.com/repos/pingworks/dash/languages","stargazers_url":"https://api.github.com/repos/pingworks/dash/stargazers","contributors_url":"https://api.github.com/repos/pingworks/dash/contributors","subscribers_url":"https://api.github.com/repos/pingworks/dash/subscribers","subscription_url":"https://api.github.com/repos/pingworks/dash/subscription","commits_url":"https://api.github.com/repos/pingworks/dash/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingworks/dash/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingworks/dash/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingworks/dash/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingworks/dash/contents/{+path}","compare_url":"https://api.github.com/repos/pingworks/dash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingworks/dash/merges","archive_url":"https://api.github.com/repos/pingworks/dash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingworks/dash/downloads","issues_url":"https://api.github.com/repos/pingworks/dash/issues{/number}","pulls_url":"https://api.github.com/repos/pingworks/dash/pulls{/number}","milestones_url":"https://api.github.com/repos/pingworks/dash/milestones{/number}","notifications_url":"https://api.github.com/repos/pingworks/dash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingworks/dash/labels{/name}","releases_url":"https://api.github.com/repos/pingworks/dash/releases{/id}","created_at":"2013-04-26T08:16:39Z","updated_at":"2015-09-14T19:09:40Z","pushed_at":"2015-10-30T06:57:37Z","git_url":"git://github.com/pingworks/dash.git","ssh_url":"git@github.com:pingworks/dash.git","clone_url":"https://github.com/pingworks/dash.git","svn_url":"https://github.com/pingworks/dash","homepage":null,"size":36439,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingworks/dash/pulls/14"},"html":{"href":"https://github.com/pingworks/dash/pull/14"},"issue":{"href":"https://api.github.com/repos/pingworks/dash/issues/14"},"comments":{"href":"https://api.github.com/repos/pingworks/dash/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/pingworks/dash/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/pingworks/dash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingworks/dash/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/pingworks/dash/statuses/4c88e69775cc89fdac60aefb0603b0555a983044"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cluk33","id":4208447,"avatar_url":"https://avatars.githubusercontent.com/u/4208447?v=3","gravatar_id":"","url":"https://api.github.com/users/cluk33","html_url":"https://github.com/cluk33","followers_url":"https://api.github.com/users/cluk33/followers","following_url":"https://api.github.com/users/cluk33/following{/other_user}","gists_url":"https://api.github.com/users/cluk33/gists{/gist_id}","starred_url":"https://api.github.com/users/cluk33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cluk33/subscriptions","organizations_url":"https://api.github.com/users/cluk33/orgs","repos_url":"https://api.github.com/users/cluk33/repos","events_url":"https://api.github.com/users/cluk33/events{/privacy}","received_events_url":"https://api.github.com/users/cluk33/received_events","type":"User","site_admin":false},"comments":9,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}