{"action":"created","comment":{"url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/comments/237311997","pull_request_review_id":179579439,"id":237311997,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzMxMTk5Nw==","diff_hunk":"@@ -382,6 +382,9 @@ func launch(api screwdriver.API, buildID int, rootDir, emitterPath, metaSpace, s\n \t\t\"SD_JOB_NAME\":            oldJobName,\n \t\t\"SD_PIPELINE_NAME\":       pipeline.ScmRepo.Name,\n \t\t\"SD_PULL_REQUEST\":        pr,\n+\t\t\"SD_PR_PARENT_JOB_ID\":    strconv.Itoa(job.PrParentJobID),\n+\t\t\"SD_PARENT_BUILD_ID\":     fmt.Sprintf(\"%v\", build.ParentBuildID),","path":"launch.go","position":5,"original_position":5,"commit_id":"81ec5b4a53813b5483f6fa3b73a1f679eeed8ef5","original_commit_id":"81ec5b4a53813b5483f6fa3b73a1f679eeed8ef5","user":{"login":"tkyi","id":3230529,"node_id":"MDQ6VXNlcjMyMzA1Mjk=","avatar_url":"https://avatars3.githubusercontent.com/u/3230529?v=4","gravatar_id":"","url":"https://api.github.com/users/tkyi","html_url":"https://github.com/tkyi","followers_url":"https://api.github.com/users/tkyi/followers","following_url":"https://api.github.com/users/tkyi/following{/other_user}","gists_url":"https://api.github.com/users/tkyi/gists{/gist_id}","starred_url":"https://api.github.com/users/tkyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkyi/subscriptions","organizations_url":"https://api.github.com/users/tkyi/orgs","repos_url":"https://api.github.com/users/tkyi/repos","events_url":"https://api.github.com/users/tkyi/events{/privacy}","received_events_url":"https://api.github.com/users/tkyi/received_events","type":"User","site_admin":false},"body":"why isn't this using `strconv.Itoa` as well?","created_at":"2018-11-29T00:16:12Z","updated_at":"2018-11-29T00:16:12Z","html_url":"https://github.com/screwdriver-cd/launcher/pull/242#discussion_r237311997","pull_request_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/comments/237311997"},"html":{"href":"https://github.com/screwdriver-cd/launcher/pull/242#discussion_r237311997"},"pull_request":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242","id":234106777,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0MTA2Nzc3","html_url":"https://github.com/screwdriver-cd/launcher/pull/242","diff_url":"https://github.com/screwdriver-cd/launcher/pull/242.diff","patch_url":"https://github.com/screwdriver-cd/launcher/pull/242.patch","issue_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/242","number":242,"state":"open","locked":false,"title":"[3] fix: expose pr parent job","user":{"login":"d2lam","id":3401924,"node_id":"MDQ6VXNlcjM0MDE5MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3401924?v=4","gravatar_id":"","url":"https://api.github.com/users/d2lam","html_url":"https://github.com/d2lam","followers_url":"https://api.github.com/users/d2lam/followers","following_url":"https://api.github.com/users/d2lam/following{/other_user}","gists_url":"https://api.github.com/users/d2lam/gists{/gist_id}","starred_url":"https://api.github.com/users/d2lam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d2lam/subscriptions","organizations_url":"https://api.github.com/users/d2lam/orgs","repos_url":"https://api.github.com/users/d2lam/repos","events_url":"https://api.github.com/users/d2lam/events{/privacy}","received_events_url":"https://api.github.com/users/d2lam/received_events","type":"User","site_admin":false},"body":"Blocked By:\r\n- https://github.com/screwdriver-cd/data-schema/pull/297/files\r\n- https://github.com/screwdriver-cd/models/pull/302\r\n- New API deployment\r\n\r\nRelated: https://github.com/screwdriver-cd/screwdriver/issues/1382","created_at":"2018-11-28T00:20:09Z","updated_at":"2018-11-29T00:16:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fadccc07049db5c2784e5e9ffeee07a0c0cdd0d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242/commits","review_comments_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242/comments","review_comment_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/242/comments","statuses_url":"https://api.github.com/repos/screwdriver-cd/launcher/statuses/81ec5b4a53813b5483f6fa3b73a1f679eeed8ef5","head":{"label":"screwdriver-cd:prparent","ref":"prparent","sha":"81ec5b4a53813b5483f6fa3b73a1f679eeed8ef5","user":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":63980841,"node_id":"MDEwOlJlcG9zaXRvcnk2Mzk4MDg0MQ==","name":"launcher","full_name":"screwdriver-cd/launcher","private":false,"owner":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/screwdriver-cd/launcher","description":"The entrypoint for job launching in Screwdriver","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/launcher","forks_url":"https://api.github.com/repos/screwdriver-cd/launcher/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/launcher/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/launcher/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/launcher/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/launcher/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/launcher/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/launcher/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/launcher/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/launcher/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/launcher/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/launcher/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/launcher/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/launcher/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/launcher/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/launcher/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/launcher/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/launcher/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/launcher/deployments","created_at":"2016-07-22T20:18:23Z","updated_at":"2018-11-21T00:04:45Z","pushed_at":"2018-11-28T23:58:04Z","git_url":"git://github.com/screwdriver-cd/launcher.git","ssh_url":"git@github.com:screwdriver-cd/launcher.git","clone_url":"https://github.com/screwdriver-cd/launcher.git","svn_url":"https://github.com/screwdriver-cd/launcher","homepage":"https://cd.screwdriver.cd/pipelines/21","size":357,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":13,"open_issues":5,"watchers":8,"default_branch":"master"}},"base":{"label":"screwdriver-cd:master","ref":"master","sha":"6da62a4a7534ae76807db86f95f4f1c457e59db6","user":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":63980841,"node_id":"MDEwOlJlcG9zaXRvcnk2Mzk4MDg0MQ==","name":"launcher","full_name":"screwdriver-cd/launcher","private":false,"owner":{"login":"screwdriver-cd","id":19417863,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NDE3ODYz","avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/screwdriver-cd/launcher","description":"The entrypoint for job launching in Screwdriver","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/launcher","forks_url":"https://api.github.com/repos/screwdriver-cd/launcher/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/launcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/launcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/launcher/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/launcher/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/launcher/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/launcher/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/launcher/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/launcher/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/launcher/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/launcher/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/launcher/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/launcher/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/launcher/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/launcher/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/launcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/launcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/launcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/launcher/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/launcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/launcher/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/launcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/launcher/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/launcher/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/launcher/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/launcher/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/launcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/launcher/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/launcher/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/launcher/deployments","created_at":"2016-07-22T20:18:23Z","updated_at":"2018-11-21T00:04:45Z","pushed_at":"2018-11-28T23:58:04Z","git_url":"git://github.com/screwdriver-cd/launcher.git","ssh_url":"git@github.com:screwdriver-cd/launcher.git","clone_url":"https://github.com/screwdriver-cd/launcher.git","svn_url":"https://github.com/screwdriver-cd/launcher","homepage":"https://cd.screwdriver.cd/pipelines/21","size":357,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":13,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242"},"html":{"href":"https://github.com/screwdriver-cd/launcher/pull/242"},"issue":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/issues/242"},"comments":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/screwdriver-cd/launcher/statuses/81ec5b4a53813b5483f6fa3b73a1f679eeed8ef5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tkyi"}}