{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/comments/192103024","pull_request_review_id":124810086,"id":192103024,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjEwMzAyNA==","diff_hunk":"@@ -25,7 +25,7 @@\n               USERNAME=General docker script runner\n               JOB=See build for command run\n               ICON=:railfail:\n-              STATUS=FAILURE\n+              STATUS=FAILED","path":"job_definitions/general_docker_script_runner.yml","position":5,"original_position":5,"commit_id":"0960d9690e5e234eae402a09f8ea35bfb991ec54","original_commit_id":"34cdb624cfa5f5eb5fbabbc08fa5229a6b2eb1b0","user":{"login":"Wynndow","id":13836290,"node_id":"MDQ6VXNlcjEzODM2Mjkw","avatar_url":"https://avatars1.githubusercontent.com/u/13836290?v=4","gravatar_id":"","url":"https://api.github.com/users/Wynndow","html_url":"https://github.com/Wynndow","followers_url":"https://api.github.com/users/Wynndow/followers","following_url":"https://api.github.com/users/Wynndow/following{/other_user}","gists_url":"https://api.github.com/users/Wynndow/gists{/gist_id}","starred_url":"https://api.github.com/users/Wynndow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wynndow/subscriptions","organizations_url":"https://api.github.com/users/Wynndow/orgs","repos_url":"https://api.github.com/users/Wynndow/repos","events_url":"https://api.github.com/users/Wynndow/events{/privacy}","received_events_url":"https://api.github.com/users/Wynndow/received_events","type":"User","site_admin":false},"body":"I've pushed an update so we use `FAILED` whenever we notify slack. That will mean the correct colour gets applied in the alert. I'm not sure that setting currentBuild.result changes anything specific to have left as is.\r\n\r\nI've also added a lovely shade of blue we can use by setting the status for slack notifications to 'APPROVED'. Mostly for the visual regression tests. Let me know what you think. ","created_at":"2018-05-31T13:43:07Z","updated_at":"2018-05-31T13:43:07Z","html_url":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88#discussion_r192103024","pull_request_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/comments/192103024"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88#discussion_r192103024"},"pull_request":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88"}},"in_reply_to_id":192011862},"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88","id":190552047,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwNTUyMDQ3","html_url":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88","diff_url":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/88","number":88,"state":"open","locked":false,"title":"Virus scan job","user":{"login":"Wynndow","id":13836290,"node_id":"MDQ6VXNlcjEzODM2Mjkw","avatar_url":"https://avatars1.githubusercontent.com/u/13836290?v=4","gravatar_id":"","url":"https://api.github.com/users/Wynndow","html_url":"https://github.com/Wynndow","followers_url":"https://api.github.com/users/Wynndow/followers","following_url":"https://api.github.com/users/Wynndow/following{/other_user}","gists_url":"https://api.github.com/users/Wynndow/gists{/gist_id}","starred_url":"https://api.github.com/users/Wynndow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wynndow/subscriptions","organizations_url":"https://api.github.com/users/Wynndow/orgs","repos_url":"https://api.github.com/users/Wynndow/repos","events_url":"https://api.github.com/users/Wynndow/events{/privacy}","received_events_url":"https://api.github.com/users/Wynndow/received_events","type":"User","site_admin":false},"body":"Job to allow the very long running virus scanning script to be run from Jenkins instead of a dev's laptop. Also means we have a shared and slightly more permanent record of the outcome.\r\n\r\nNice.","created_at":"2018-05-25T10:53:38Z","updated_at":"2018-05-31T13:43:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23262a099fad6a2b2124a609d1627ec006d97772","assignee":null,"assignees":[],"requested_reviewers":[{"login":"brenetic","id":3466862,"node_id":"MDQ6VXNlcjM0NjY4NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/3466862?v=4","gravatar_id":"","url":"https://api.github.com/users/brenetic","html_url":"https://github.com/brenetic","followers_url":"https://api.github.com/users/brenetic/followers","following_url":"https://api.github.com/users/brenetic/following{/other_user}","gists_url":"https://api.github.com/users/brenetic/gists{/gist_id}","starred_url":"https://api.github.com/users/brenetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brenetic/subscriptions","organizations_url":"https://api.github.com/users/brenetic/orgs","repos_url":"https://api.github.com/users/brenetic/repos","events_url":"https://api.github.com/users/brenetic/events{/privacy}","received_events_url":"https://api.github.com/users/brenetic/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/88/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/statuses/0960d9690e5e234eae402a09f8ea35bfb991ec54","head":{"label":"alphagov:shw-virus-scan-job","ref":"shw-virus-scan-job","sha":"0960d9690e5e234eae402a09f8ea35bfb991ec54","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":66067150,"node_id":"MDEwOlJlcG9zaXRvcnk2NjA2NzE1MA==","name":"digitalmarketplace-jenkins","full_name":"alphagov/digitalmarketplace-jenkins","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-jenkins","description":"Digital Marketplace Jenkins CI instance configuration","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/deployments","created_at":"2016-08-19T08:39:16Z","updated_at":"2018-05-31T08:29:19Z","pushed_at":"2018-05-31T13:39:50Z","git_url":"git://github.com/alphagov/digitalmarketplace-jenkins.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-jenkins.git","clone_url":"https://github.com/alphagov/digitalmarketplace-jenkins.git","svn_url":"https://github.com/alphagov/digitalmarketplace-jenkins","homepage":"","size":430,"stargazers_count":1,"watchers_count":1,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"0215754397d8059f2b877e182652dbe5b01fbb86","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":66067150,"node_id":"MDEwOlJlcG9zaXRvcnk2NjA2NzE1MA==","name":"digitalmarketplace-jenkins","full_name":"alphagov/digitalmarketplace-jenkins","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-jenkins","description":"Digital Marketplace Jenkins CI instance configuration","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/deployments","created_at":"2016-08-19T08:39:16Z","updated_at":"2018-05-31T08:29:19Z","pushed_at":"2018-05-31T13:39:50Z","git_url":"git://github.com/alphagov/digitalmarketplace-jenkins.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-jenkins.git","clone_url":"https://github.com/alphagov/digitalmarketplace-jenkins.git","svn_url":"https://github.com/alphagov/digitalmarketplace-jenkins","homepage":"","size":430,"stargazers_count":1,"watchers_count":1,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-jenkins/pull/88"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/88"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-jenkins/statuses/0960d9690e5e234eae402a09f8ea35bfb991ec54"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Wynndow"}}