{"action":"closed","number":6666,"pull_request":{"url":"https://api.github.com/repos/apache/beam/pulls/6666","id":222298425,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMjk4NDI1","html_url":"https://github.com/apache/beam/pull/6666","diff_url":"https://github.com/apache/beam/pull/6666.diff","patch_url":"https://github.com/apache/beam/pull/6666.patch","issue_url":"https://api.github.com/repos/apache/beam/issues/6666","number":6666,"state":"closed","locked":false,"title":"[BEAM-5717] Use the PR context from the environment rather than Gradle properties","user":{"login":"swegner","id":674021,"node_id":"MDQ6VXNlcjY3NDAyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/674021?v=4","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"body":"The :stageWebsite task uses the pull-request context to choose where to\r\nstage the website on GCS. The current context binding currently captures\r\nthe pull request of the Seed Job run which generated the Precommit,\r\nrather than from the actual precommit job run itself.\r\n\r\nThis fix removes the PR Id from the Job DSL / Gradle integration, and\r\ninstead reads the value directly from the environment variable set by\r\nJenkins.\r\n\r\n------------------------\r\n\r\nFollow this checklist to help us incorporate your contribution quickly and easily:\r\n\r\n - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.\r\n - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).\r\n\r\nIt will help us expedite review of your Pull Request if you tag someone (e.g. `@username`) to look at it.\r\n\r\nPost-Commit Tests Status (on master branch)\r\n------------------------------------------------------------------------------------------------\r\n\r\nLang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark\r\n--- | --- | --- | --- | --- | --- | --- | ---\r\nGo | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/) | --- | --- | --- | --- | --- | ---\r\nJava | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/)\r\nPython | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/) | --- | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/) </br> [![Build Status](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | [![Build Status](https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/badge/icon)](https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/) | --- | --- | ---\r\n\r\n\r\n\r\n\r\n","created_at":"2018-10-11T22:28:13Z","updated_at":"2018-10-12T16:39:07Z","closed_at":"2018-10-12T16:39:07Z","merged_at":"2018-10-12T16:39:07Z","merge_commit_sha":"10d89d831d58937b645c608838b3f6c0cfbed507","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/beam/pulls/6666/commits","review_comments_url":"https://api.github.com/repos/apache/beam/pulls/6666/comments","review_comment_url":"https://api.github.com/repos/apache/beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/beam/issues/6666/comments","statuses_url":"https://api.github.com/repos/apache/beam/statuses/ab8d941b15a749f69fd95766f9dc41e8cf5ee146","head":{"label":"swegner:prid_from_env","ref":"prid_from_env","sha":"ab8d941b15a749f69fd95766f9dc41e8cf5ee146","user":{"login":"swegner","id":674021,"node_id":"MDQ6VXNlcjY3NDAyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/674021?v=4","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"repo":{"id":52832170,"node_id":"MDEwOlJlcG9zaXRvcnk1MjgzMjE3MA==","name":"beam","full_name":"swegner/beam","private":false,"owner":{"login":"swegner","id":674021,"node_id":"MDQ6VXNlcjY3NDAyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/674021?v=4","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/swegner/beam","description":"Mirror of Apache Beam","fork":true,"url":"https://api.github.com/repos/swegner/beam","forks_url":"https://api.github.com/repos/swegner/beam/forks","keys_url":"https://api.github.com/repos/swegner/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swegner/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swegner/beam/teams","hooks_url":"https://api.github.com/repos/swegner/beam/hooks","issue_events_url":"https://api.github.com/repos/swegner/beam/issues/events{/number}","events_url":"https://api.github.com/repos/swegner/beam/events","assignees_url":"https://api.github.com/repos/swegner/beam/assignees{/user}","branches_url":"https://api.github.com/repos/swegner/beam/branches{/branch}","tags_url":"https://api.github.com/repos/swegner/beam/tags","blobs_url":"https://api.github.com/repos/swegner/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swegner/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swegner/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/swegner/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swegner/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/swegner/beam/languages","stargazers_url":"https://api.github.com/repos/swegner/beam/stargazers","contributors_url":"https://api.github.com/repos/swegner/beam/contributors","subscribers_url":"https://api.github.com/repos/swegner/beam/subscribers","subscription_url":"https://api.github.com/repos/swegner/beam/subscription","commits_url":"https://api.github.com/repos/swegner/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/swegner/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/swegner/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/swegner/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/swegner/beam/contents/{+path}","compare_url":"https://api.github.com/repos/swegner/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swegner/beam/merges","archive_url":"https://api.github.com/repos/swegner/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swegner/beam/downloads","issues_url":"https://api.github.com/repos/swegner/beam/issues{/number}","pulls_url":"https://api.github.com/repos/swegner/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/swegner/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/swegner/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swegner/beam/labels{/name}","releases_url":"https://api.github.com/repos/swegner/beam/releases{/id}","deployments_url":"https://api.github.com/repos/swegner/beam/deployments","created_at":"2016-02-29T23:20:08Z","updated_at":"2018-05-23T23:18:02Z","pushed_at":"2018-10-11T23:39:50Z","git_url":"git://github.com/swegner/beam.git","ssh_url":"git@github.com:swegner/beam.git","clone_url":"https://github.com/swegner/beam.git","svn_url":"https://github.com/swegner/beam","homepage":"","size":101341,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"0831dd09940570d0c04dea95e25bb477af54c229","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"node_id":"MDEwOlJlcG9zaXRvcnk1MDkwNDI0NQ==","name":"beam","full_name":"apache/beam","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/beam","description":"Apache Beam","fork":false,"url":"https://api.github.com/repos/apache/beam","forks_url":"https://api.github.com/repos/apache/beam/forks","keys_url":"https://api.github.com/repos/apache/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/beam/teams","hooks_url":"https://api.github.com/repos/apache/beam/hooks","issue_events_url":"https://api.github.com/repos/apache/beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/beam/events","assignees_url":"https://api.github.com/repos/apache/beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/beam/tags","blobs_url":"https://api.github.com/repos/apache/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/beam/languages","stargazers_url":"https://api.github.com/repos/apache/beam/stargazers","contributors_url":"https://api.github.com/repos/apache/beam/contributors","subscribers_url":"https://api.github.com/repos/apache/beam/subscribers","subscription_url":"https://api.github.com/repos/apache/beam/subscription","commits_url":"https://api.github.com/repos/apache/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/beam/merges","archive_url":"https://api.github.com/repos/apache/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/beam/downloads","issues_url":"https://api.github.com/repos/apache/beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2018-10-12T15:51:45Z","pushed_at":"2018-10-12T16:39:07Z","git_url":"git://github.com/apache/beam.git","ssh_url":"git@github.com:apache/beam.git","clone_url":"https://github.com/apache/beam.git","svn_url":"https://github.com/apache/beam","homepage":"https://beam.apache.org","size":106911,"stargazers_count":2229,"watchers_count":2229,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1385,"mirror_url":null,"archived":false,"open_issues_count":79,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1385,"open_issues":79,"watchers":2229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/beam/pulls/6666"},"html":{"href":"https://github.com/apache/beam/pull/6666"},"issue":{"href":"https://api.github.com/repos/apache/beam/issues/6666"},"comments":{"href":"https://api.github.com/repos/apache/beam/issues/6666/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/beam/pulls/6666/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/beam/pulls/6666/commits"},"statuses":{"href":"https://api.github.com/repos/apache/beam/statuses/ab8d941b15a749f69fd95766f9dc41e8cf5ee146"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"swegner","id":674021,"node_id":"MDQ6VXNlcjY3NDAyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/674021?v=4","gravatar_id":"","url":"https://api.github.com/users/swegner","html_url":"https://github.com/swegner","followers_url":"https://api.github.com/users/swegner/followers","following_url":"https://api.github.com/users/swegner/following{/other_user}","gists_url":"https://api.github.com/users/swegner/gists{/gist_id}","starred_url":"https://api.github.com/users/swegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swegner/subscriptions","organizations_url":"https://api.github.com/users/swegner/orgs","repos_url":"https://api.github.com/users/swegner/repos","events_url":"https://api.github.com/users/swegner/events{/privacy}","received_events_url":"https://api.github.com/users/swegner/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"swegner"}}