{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4","id":56694253,"html_url":"https://github.com/NewGyu/cloudformation-z/pull/4","diff_url":"https://github.com/NewGyu/cloudformation-z/pull/4.diff","patch_url":"https://github.com/NewGyu/cloudformation-z/pull/4.patch","issue_url":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/4","number":4,"state":"closed","locked":false,"title":"Add exit code on error","user":{"login":"t-yamo","id":2154705,"avatar_url":"https://avatars.githubusercontent.com/u/2154705?v=3","gravatar_id":"","url":"https://api.github.com/users/t-yamo","html_url":"https://github.com/t-yamo","followers_url":"https://api.github.com/users/t-yamo/followers","following_url":"https://api.github.com/users/t-yamo/following{/other_user}","gists_url":"https://api.github.com/users/t-yamo/gists{/gist_id}","starred_url":"https://api.github.com/users/t-yamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-yamo/subscriptions","organizations_url":"https://api.github.com/users/t-yamo/orgs","repos_url":"https://api.github.com/users/t-yamo/repos","events_url":"https://api.github.com/users/t-yamo/events{/privacy}","received_events_url":"https://api.github.com/users/t-yamo/received_events","type":"User","site_admin":false},"body":"I want to use cloudformation-z in the jobs of jenkins.  \r\nIt should return the non-zero status, when CFN is failed.","created_at":"2016-01-21T01:39:34Z","updated_at":"2016-01-21T01:53:31Z","closed_at":"2016-01-21T01:53:31Z","merged_at":"2016-01-21T01:53:31Z","merge_commit_sha":"014849af441b36ab3e3ce7e15562a39b4a198652","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4/commits","review_comments_url":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4/comments","review_comment_url":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/4/comments","statuses_url":"https://api.github.com/repos/NewGyu/cloudformation-z/statuses/83c790d117c79714c255b5c3627259b2452580a1","head":{"label":"t-yamo:add-exit-code-on-error","ref":"add-exit-code-on-error","sha":"83c790d117c79714c255b5c3627259b2452580a1","user":{"login":"t-yamo","id":2154705,"avatar_url":"https://avatars.githubusercontent.com/u/2154705?v=3","gravatar_id":"","url":"https://api.github.com/users/t-yamo","html_url":"https://github.com/t-yamo","followers_url":"https://api.github.com/users/t-yamo/followers","following_url":"https://api.github.com/users/t-yamo/following{/other_user}","gists_url":"https://api.github.com/users/t-yamo/gists{/gist_id}","starred_url":"https://api.github.com/users/t-yamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-yamo/subscriptions","organizations_url":"https://api.github.com/users/t-yamo/orgs","repos_url":"https://api.github.com/users/t-yamo/repos","events_url":"https://api.github.com/users/t-yamo/events{/privacy}","received_events_url":"https://api.github.com/users/t-yamo/received_events","type":"User","site_admin":false},"repo":{"id":50072855,"name":"cloudformation-z","full_name":"t-yamo/cloudformation-z","owner":{"login":"t-yamo","id":2154705,"avatar_url":"https://avatars.githubusercontent.com/u/2154705?v=3","gravatar_id":"","url":"https://api.github.com/users/t-yamo","html_url":"https://github.com/t-yamo","followers_url":"https://api.github.com/users/t-yamo/followers","following_url":"https://api.github.com/users/t-yamo/following{/other_user}","gists_url":"https://api.github.com/users/t-yamo/gists{/gist_id}","starred_url":"https://api.github.com/users/t-yamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-yamo/subscriptions","organizations_url":"https://api.github.com/users/t-yamo/orgs","repos_url":"https://api.github.com/users/t-yamo/repos","events_url":"https://api.github.com/users/t-yamo/events{/privacy}","received_events_url":"https://api.github.com/users/t-yamo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/t-yamo/cloudformation-z","description":"","fork":true,"url":"https://api.github.com/repos/t-yamo/cloudformation-z","forks_url":"https://api.github.com/repos/t-yamo/cloudformation-z/forks","keys_url":"https://api.github.com/repos/t-yamo/cloudformation-z/keys{/key_id}","collaborators_url":"https://api.github.com/repos/t-yamo/cloudformation-z/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/t-yamo/cloudformation-z/teams","hooks_url":"https://api.github.com/repos/t-yamo/cloudformation-z/hooks","issue_events_url":"https://api.github.com/repos/t-yamo/cloudformation-z/issues/events{/number}","events_url":"https://api.github.com/repos/t-yamo/cloudformation-z/events","assignees_url":"https://api.github.com/repos/t-yamo/cloudformation-z/assignees{/user}","branches_url":"https://api.github.com/repos/t-yamo/cloudformation-z/branches{/branch}","tags_url":"https://api.github.com/repos/t-yamo/cloudformation-z/tags","blobs_url":"https://api.github.com/repos/t-yamo/cloudformation-z/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/t-yamo/cloudformation-z/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/t-yamo/cloudformation-z/git/refs{/sha}","trees_url":"https://api.github.com/repos/t-yamo/cloudformation-z/git/trees{/sha}","statuses_url":"https://api.github.com/repos/t-yamo/cloudformation-z/statuses/{sha}","languages_url":"https://api.github.com/repos/t-yamo/cloudformation-z/languages","stargazers_url":"https://api.github.com/repos/t-yamo/cloudformation-z/stargazers","contributors_url":"https://api.github.com/repos/t-yamo/cloudformation-z/contributors","subscribers_url":"https://api.github.com/repos/t-yamo/cloudformation-z/subscribers","subscription_url":"https://api.github.com/repos/t-yamo/cloudformation-z/subscription","commits_url":"https://api.github.com/repos/t-yamo/cloudformation-z/commits{/sha}","git_commits_url":"https://api.github.com/repos/t-yamo/cloudformation-z/git/commits{/sha}","comments_url":"https://api.github.com/repos/t-yamo/cloudformation-z/comments{/number}","issue_comment_url":"https://api.github.com/repos/t-yamo/cloudformation-z/issues/comments{/number}","contents_url":"https://api.github.com/repos/t-yamo/cloudformation-z/contents/{+path}","compare_url":"https://api.github.com/repos/t-yamo/cloudformation-z/compare/{base}...{head}","merges_url":"https://api.github.com/repos/t-yamo/cloudformation-z/merges","archive_url":"https://api.github.com/repos/t-yamo/cloudformation-z/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/t-yamo/cloudformation-z/downloads","issues_url":"https://api.github.com/repos/t-yamo/cloudformation-z/issues{/number}","pulls_url":"https://api.github.com/repos/t-yamo/cloudformation-z/pulls{/number}","milestones_url":"https://api.github.com/repos/t-yamo/cloudformation-z/milestones{/number}","notifications_url":"https://api.github.com/repos/t-yamo/cloudformation-z/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/t-yamo/cloudformation-z/labels{/name}","releases_url":"https://api.github.com/repos/t-yamo/cloudformation-z/releases{/id}","created_at":"2016-01-21T01:23:47Z","updated_at":"2016-01-21T01:23:48Z","pushed_at":"2016-01-21T01:32:22Z","git_url":"git://github.com/t-yamo/cloudformation-z.git","ssh_url":"git@github.com:t-yamo/cloudformation-z.git","clone_url":"https://github.com/t-yamo/cloudformation-z.git","svn_url":"https://github.com/t-yamo/cloudformation-z","homepage":null,"size":13,"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":"NewGyu:master","ref":"master","sha":"9dde2d5d7d4cf7f5e3263b0720d87c024983a2a2","user":{"login":"NewGyu","id":1220522,"avatar_url":"https://avatars.githubusercontent.com/u/1220522?v=3","gravatar_id":"","url":"https://api.github.com/users/NewGyu","html_url":"https://github.com/NewGyu","followers_url":"https://api.github.com/users/NewGyu/followers","following_url":"https://api.github.com/users/NewGyu/following{/other_user}","gists_url":"https://api.github.com/users/NewGyu/gists{/gist_id}","starred_url":"https://api.github.com/users/NewGyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NewGyu/subscriptions","organizations_url":"https://api.github.com/users/NewGyu/orgs","repos_url":"https://api.github.com/users/NewGyu/repos","events_url":"https://api.github.com/users/NewGyu/events{/privacy}","received_events_url":"https://api.github.com/users/NewGyu/received_events","type":"User","site_admin":false},"repo":{"id":48146863,"name":"cloudformation-z","full_name":"NewGyu/cloudformation-z","owner":{"login":"NewGyu","id":1220522,"avatar_url":"https://avatars.githubusercontent.com/u/1220522?v=3","gravatar_id":"","url":"https://api.github.com/users/NewGyu","html_url":"https://github.com/NewGyu","followers_url":"https://api.github.com/users/NewGyu/followers","following_url":"https://api.github.com/users/NewGyu/following{/other_user}","gists_url":"https://api.github.com/users/NewGyu/gists{/gist_id}","starred_url":"https://api.github.com/users/NewGyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NewGyu/subscriptions","organizations_url":"https://api.github.com/users/NewGyu/orgs","repos_url":"https://api.github.com/users/NewGyu/repos","events_url":"https://api.github.com/users/NewGyu/events{/privacy}","received_events_url":"https://api.github.com/users/NewGyu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NewGyu/cloudformation-z","description":"","fork":false,"url":"https://api.github.com/repos/NewGyu/cloudformation-z","forks_url":"https://api.github.com/repos/NewGyu/cloudformation-z/forks","keys_url":"https://api.github.com/repos/NewGyu/cloudformation-z/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NewGyu/cloudformation-z/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NewGyu/cloudformation-z/teams","hooks_url":"https://api.github.com/repos/NewGyu/cloudformation-z/hooks","issue_events_url":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/events{/number}","events_url":"https://api.github.com/repos/NewGyu/cloudformation-z/events","assignees_url":"https://api.github.com/repos/NewGyu/cloudformation-z/assignees{/user}","branches_url":"https://api.github.com/repos/NewGyu/cloudformation-z/branches{/branch}","tags_url":"https://api.github.com/repos/NewGyu/cloudformation-z/tags","blobs_url":"https://api.github.com/repos/NewGyu/cloudformation-z/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NewGyu/cloudformation-z/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NewGyu/cloudformation-z/git/refs{/sha}","trees_url":"https://api.github.com/repos/NewGyu/cloudformation-z/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NewGyu/cloudformation-z/statuses/{sha}","languages_url":"https://api.github.com/repos/NewGyu/cloudformation-z/languages","stargazers_url":"https://api.github.com/repos/NewGyu/cloudformation-z/stargazers","contributors_url":"https://api.github.com/repos/NewGyu/cloudformation-z/contributors","subscribers_url":"https://api.github.com/repos/NewGyu/cloudformation-z/subscribers","subscription_url":"https://api.github.com/repos/NewGyu/cloudformation-z/subscription","commits_url":"https://api.github.com/repos/NewGyu/cloudformation-z/commits{/sha}","git_commits_url":"https://api.github.com/repos/NewGyu/cloudformation-z/git/commits{/sha}","comments_url":"https://api.github.com/repos/NewGyu/cloudformation-z/comments{/number}","issue_comment_url":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/comments{/number}","contents_url":"https://api.github.com/repos/NewGyu/cloudformation-z/contents/{+path}","compare_url":"https://api.github.com/repos/NewGyu/cloudformation-z/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NewGyu/cloudformation-z/merges","archive_url":"https://api.github.com/repos/NewGyu/cloudformation-z/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NewGyu/cloudformation-z/downloads","issues_url":"https://api.github.com/repos/NewGyu/cloudformation-z/issues{/number}","pulls_url":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls{/number}","milestones_url":"https://api.github.com/repos/NewGyu/cloudformation-z/milestones{/number}","notifications_url":"https://api.github.com/repos/NewGyu/cloudformation-z/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NewGyu/cloudformation-z/labels{/name}","releases_url":"https://api.github.com/repos/NewGyu/cloudformation-z/releases{/id}","created_at":"2015-12-17T02:14:37Z","updated_at":"2015-12-17T02:16:40Z","pushed_at":"2016-01-21T01:53:31Z","git_url":"git://github.com/NewGyu/cloudformation-z.git","ssh_url":"git@github.com:NewGyu/cloudformation-z.git","clone_url":"https://github.com/NewGyu/cloudformation-z.git","svn_url":"https://github.com/NewGyu/cloudformation-z","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4"},"html":{"href":"https://github.com/NewGyu/cloudformation-z/pull/4"},"issue":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/4"},"comments":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/NewGyu/cloudformation-z/statuses/83c790d117c79714c255b5c3627259b2452580a1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"NewGyu","id":1220522,"avatar_url":"https://avatars.githubusercontent.com/u/1220522?v=3","gravatar_id":"","url":"https://api.github.com/users/NewGyu","html_url":"https://github.com/NewGyu","followers_url":"https://api.github.com/users/NewGyu/followers","following_url":"https://api.github.com/users/NewGyu/following{/other_user}","gists_url":"https://api.github.com/users/NewGyu/gists{/gist_id}","starred_url":"https://api.github.com/users/NewGyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NewGyu/subscriptions","organizations_url":"https://api.github.com/users/NewGyu/orgs","repos_url":"https://api.github.com/users/NewGyu/repos","events_url":"https://api.github.com/users/NewGyu/events{/privacy}","received_events_url":"https://api.github.com/users/NewGyu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}