{"action":"created","comment":{"url":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments/60251996","id":60251996,"diff_hunk":"@@ -68,9 +68,7 @@ public void sendMessage(final SlackMessage message) {\n         throw Throwables.propagate(e);\n       }\n     }\n-    if (message.getIconEmoji().isPresent()) {\n-      requestBuilder.setFormParam(\"icon_emoji\").to(message.getIconEmoji().get());\n-    }\n+    requestBuilder.setFormParam(\"icon_emoji\").to(message.getIconEmoji().or(\":fire:\"));","path":"BlazarService/src/main/java/com/hubspot/blazar/integration/slack/SlackClient.java","position":7,"original_position":7,"commit_id":"49c57518beec3589ed26eb0a62b9b006a9c3e110","original_commit_id":"49c57518beec3589ed26eb0a62b9b006a9c3e110","user":{"login":"jhaber","id":611459,"avatar_url":"https://avatars.githubusercontent.com/u/611459?v=3","gravatar_id":"","url":"https://api.github.com/users/jhaber","html_url":"https://github.com/jhaber","followers_url":"https://api.github.com/users/jhaber/followers","following_url":"https://api.github.com/users/jhaber/following{/other_user}","gists_url":"https://api.github.com/users/jhaber/gists{/gist_id}","starred_url":"https://api.github.com/users/jhaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhaber/subscriptions","organizations_url":"https://api.github.com/users/jhaber/orgs","repos_url":"https://api.github.com/users/jhaber/repos","events_url":"https://api.github.com/users/jhaber/events{/privacy}","received_events_url":"https://api.github.com/users/jhaber/received_events","type":"User","site_admin":false},"body":"Fire might suggest something is wrong and confuse people on success","created_at":"2016-04-19T15:23:29Z","updated_at":"2016-04-19T15:23:29Z","html_url":"https://github.com/HubSpot/Blazar/pull/165#discussion_r60251996","pull_request_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments/60251996"},"html":{"href":"https://github.com/HubSpot/Blazar/pull/165#discussion_r60251996"},"pull_request":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/HubSpot/Blazar/pulls/165","id":67037358,"html_url":"https://github.com/HubSpot/Blazar/pull/165","diff_url":"https://github.com/HubSpot/Blazar/pull/165.diff","patch_url":"https://github.com/HubSpot/Blazar/pull/165.patch","issue_url":"https://api.github.com/repos/HubSpot/Blazar/issues/165","number":165,"state":"open","locked":false,"title":"Tweaks to the Slack notification for failed builds","user":{"login":"jonathanwgoodwin","id":3247956,"avatar_url":"https://avatars.githubusercontent.com/u/3247956?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanwgoodwin","html_url":"https://github.com/jonathanwgoodwin","followers_url":"https://api.github.com/users/jonathanwgoodwin/followers","following_url":"https://api.github.com/users/jonathanwgoodwin/following{/other_user}","gists_url":"https://api.github.com/users/jonathanwgoodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanwgoodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanwgoodwin/subscriptions","organizations_url":"https://api.github.com/users/jonathanwgoodwin/orgs","repos_url":"https://api.github.com/users/jonathanwgoodwin/repos","events_url":"https://api.github.com/users/jonathanwgoodwin/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanwgoodwin/received_events","type":"User","site_admin":false},"body":"@gchomatas @jhaber @zdhickman @markhazlewood \r\n\r\nGot a notification for a failed build that I didn't cause. Thought it would be nice (for failures) to include the failing / unstable modules in the slack notification. \r\nCurrently the notification looks like this:\r\n<img width=\"675\" alt=\"screen shot 2016-04-19 at 11 14 11 am\" src=\"https://cloud.githubusercontent.com/assets/3247956/14644386/e5571406-061f-11e6-8ef7-3f7ba865c270.png\">\r\n\r\nThis doesn't change the look of the notification for success.","created_at":"2016-04-19T15:18:12Z","updated_at":"2016-04-19T15:23:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a6d683b46a40c8c11bafaf2bde3e6dda4b631ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/165/commits","review_comments_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/165/comments","review_comment_url":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/issues/165/comments","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/49c57518beec3589ed26eb0a62b9b006a9c3e110","head":{"label":"HubSpot:slackMessageTweak","ref":"slackMessageTweak","sha":"49c57518beec3589ed26eb0a62b9b006a9c3e110","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":38639709,"name":"Blazar","full_name":"HubSpot/Blazar","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/Blazar","description":"An out-of-this world build system!","fork":false,"url":"https://api.github.com/repos/HubSpot/Blazar","forks_url":"https://api.github.com/repos/HubSpot/Blazar/forks","keys_url":"https://api.github.com/repos/HubSpot/Blazar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/Blazar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/Blazar/teams","hooks_url":"https://api.github.com/repos/HubSpot/Blazar/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/Blazar/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/Blazar/events","assignees_url":"https://api.github.com/repos/HubSpot/Blazar/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/Blazar/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/Blazar/tags","blobs_url":"https://api.github.com/repos/HubSpot/Blazar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/Blazar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/Blazar/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/Blazar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/Blazar/languages","stargazers_url":"https://api.github.com/repos/HubSpot/Blazar/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/Blazar/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/Blazar/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/Blazar/subscription","commits_url":"https://api.github.com/repos/HubSpot/Blazar/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/Blazar/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/Blazar/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/Blazar/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/Blazar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/Blazar/merges","archive_url":"https://api.github.com/repos/HubSpot/Blazar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/Blazar/downloads","issues_url":"https://api.github.com/repos/HubSpot/Blazar/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/Blazar/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/Blazar/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/Blazar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/Blazar/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/Blazar/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/Blazar/deployments","created_at":"2015-07-06T18:59:45Z","updated_at":"2016-04-17T19:36:47Z","pushed_at":"2016-04-19T15:21:42Z","git_url":"git://github.com/HubSpot/Blazar.git","ssh_url":"git@github.com:HubSpot/Blazar.git","clone_url":"https://github.com/HubSpot/Blazar.git","svn_url":"https://github.com/HubSpot/Blazar","homepage":null,"size":2938,"stargazers_count":37,"watchers_count":37,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":37,"default_branch":"master"}},"base":{"label":"HubSpot:master","ref":"master","sha":"ee140175d169c44def1e0b05dcb40d34469bbf8f","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":38639709,"name":"Blazar","full_name":"HubSpot/Blazar","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/Blazar","description":"An out-of-this world build system!","fork":false,"url":"https://api.github.com/repos/HubSpot/Blazar","forks_url":"https://api.github.com/repos/HubSpot/Blazar/forks","keys_url":"https://api.github.com/repos/HubSpot/Blazar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/Blazar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/Blazar/teams","hooks_url":"https://api.github.com/repos/HubSpot/Blazar/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/Blazar/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/Blazar/events","assignees_url":"https://api.github.com/repos/HubSpot/Blazar/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/Blazar/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/Blazar/tags","blobs_url":"https://api.github.com/repos/HubSpot/Blazar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/Blazar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/Blazar/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/Blazar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/Blazar/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/Blazar/languages","stargazers_url":"https://api.github.com/repos/HubSpot/Blazar/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/Blazar/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/Blazar/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/Blazar/subscription","commits_url":"https://api.github.com/repos/HubSpot/Blazar/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/Blazar/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/Blazar/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/Blazar/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/Blazar/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/Blazar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/Blazar/merges","archive_url":"https://api.github.com/repos/HubSpot/Blazar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/Blazar/downloads","issues_url":"https://api.github.com/repos/HubSpot/Blazar/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/Blazar/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/Blazar/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/Blazar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/Blazar/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/Blazar/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/Blazar/deployments","created_at":"2015-07-06T18:59:45Z","updated_at":"2016-04-17T19:36:47Z","pushed_at":"2016-04-19T15:21:42Z","git_url":"git://github.com/HubSpot/Blazar.git","ssh_url":"git@github.com:HubSpot/Blazar.git","clone_url":"https://github.com/HubSpot/Blazar.git","svn_url":"https://github.com/HubSpot/Blazar","homepage":null,"size":2938,"stargazers_count":37,"watchers_count":37,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":7,"forks":3,"open_issues":7,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/165"},"html":{"href":"https://github.com/HubSpot/Blazar/pull/165"},"issue":{"href":"https://api.github.com/repos/HubSpot/Blazar/issues/165"},"comments":{"href":"https://api.github.com/repos/HubSpot/Blazar/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubSpot/Blazar/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/HubSpot/Blazar/statuses/49c57518beec3589ed26eb0a62b9b006a9c3e110"}}}}