{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/arcade/pulls/comments/219352634","pull_request_review_id":157508495,"id":219352634,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTM1MjYzNA==","diff_hunk":"@@ -0,0 +1,58 @@\n+# Sending Jobs to Helix\n+\n+The primary reason to use Helix is to leverage its scalability to run tests. Arcade and the Arcade SDK provide out-of-the-box functionality to interface with Helix.\n+\n+## Getting Started\n+\n+First, you have to import the SDK. Everything that follows requires dotnet-cli ≥ 2.1.300 and needs the following files in a directory at or above the project's directory.\n+\n+#### global.json\n+```json\n+{\n+  \"msbuild-sdks\": {\n+    \"Microsoft.DotNet.Helix.Sdk\": \"<version of helix sdk package from package feed>\"\n+  }\n+}\n+```\n+#### NuGet.config\n+```xml\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<configuration>\n+  <packageSources>\n+    <clear />\n+    <add key=\"dotnet-core\" value=\"https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json\" />\n+  </packageSources>\n+</configuration>\n+```\n+\n+## Helix Access Token\n+\n+If you plan to send a payload (such as a work item) to Helix, you will need to be authorized. For official builds you can use your current access token; however, sending jobs from public CI builds is a different story.\n+\n+For these builds, you will need to add a variable group to your build which contains only the *BotAccount-dotnet-github-anon-kaonashi-bot-helix-token* secret from EngKeyVault. This will allow you to send telemetry to Helix while minimizing the risk of leaking secrets.\n+\n+## The Simple Case\n+\n+The simplest Helix use-case is zipping up a single folder containing your project's tests and a batch file which runs those tests. To accomplish this, reference Arcade's `helix-publish` template in `eng/common/templates/steps/helix-publish.yml` from your `.vsts-ci.yml` file.\n+\n+In a case where you have a directory called `tests` and a batch file in that directory called `runtests.cmd` which will run several different XUnit test projects:\n+\n+```yaml\n+  - template: eng/common/templates/steps/helix-publish.yml\n+    parameters:\n+      HelixSource: your/helix/source\n+      HelixType: type/tests\n+      # HelixBuild: $(Build.BuildNumber) -- This property is set by default\n+      HelixTargetQueues: Windows.10.Amd64.Open;Windows.7.Amd64.Open'","path":"Documentation/VSTS/SendingJobsToHelix.md","position":46,"original_position":46,"commit_id":"5628440a04a96a4588cab71cc7e534f24c867f4d","original_commit_id":"5628440a04a96a4588cab71cc7e534f24c867f4d","user":{"login":"alexperovich","id":10565410,"node_id":"MDQ6VXNlcjEwNTY1NDEw","avatar_url":"https://avatars3.githubusercontent.com/u/10565410?v=4","gravatar_id":"","url":"https://api.github.com/users/alexperovich","html_url":"https://github.com/alexperovich","followers_url":"https://api.github.com/users/alexperovich/followers","following_url":"https://api.github.com/users/alexperovich/following{/other_user}","gists_url":"https://api.github.com/users/alexperovich/gists{/gist_id}","starred_url":"https://api.github.com/users/alexperovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexperovich/subscriptions","organizations_url":"https://api.github.com/users/alexperovich/orgs","repos_url":"https://api.github.com/users/alexperovich/repos","events_url":"https://api.github.com/users/alexperovich/events{/privacy}","received_events_url":"https://api.github.com/users/alexperovich/received_events","type":"User","site_admin":false},"body":"There is an extra `'` on this line.","created_at":"2018-09-21T00:03:01Z","updated_at":"2018-09-21T00:04:05Z","html_url":"https://github.com/dotnet/arcade/pull/828#discussion_r219352634","pull_request_url":"https://api.github.com/repos/dotnet/arcade/pulls/828","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/comments/219352634"},"html":{"href":"https://github.com/dotnet/arcade/pull/828#discussion_r219352634"},"pull_request":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/828"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/arcade/pulls/828","id":217132983,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MTMyOTgz","html_url":"https://github.com/dotnet/arcade/pull/828","diff_url":"https://github.com/dotnet/arcade/pull/828.diff","patch_url":"https://github.com/dotnet/arcade/pull/828.patch","issue_url":"https://api.github.com/repos/dotnet/arcade/issues/828","number":828,"state":"open","locked":false,"title":"Add documentation on sending jobs to Helix","user":{"login":"jonfortescue","id":13228069,"node_id":"MDQ6VXNlcjEzMjI4MDY5","avatar_url":"https://avatars0.githubusercontent.com/u/13228069?v=4","gravatar_id":"","url":"https://api.github.com/users/jonfortescue","html_url":"https://github.com/jonfortescue","followers_url":"https://api.github.com/users/jonfortescue/followers","following_url":"https://api.github.com/users/jonfortescue/following{/other_user}","gists_url":"https://api.github.com/users/jonfortescue/gists{/gist_id}","starred_url":"https://api.github.com/users/jonfortescue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonfortescue/subscriptions","organizations_url":"https://api.github.com/users/jonfortescue/orgs","repos_url":"https://api.github.com/users/jonfortescue/repos","events_url":"https://api.github.com/users/jonfortescue/events{/privacy}","received_events_url":"https://api.github.com/users/jonfortescue/received_events","type":"User","site_admin":false},"body":"Initial draft of the documentation. Needs a bit of refinement before merge.","created_at":"2018-09-20T23:19:44Z","updated_at":"2018-09-21T00:04:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d68f62594d6542796f79549f5462f2562e4cad88","assignee":{"login":"jonfortescue","id":13228069,"node_id":"MDQ6VXNlcjEzMjI4MDY5","avatar_url":"https://avatars0.githubusercontent.com/u/13228069?v=4","gravatar_id":"","url":"https://api.github.com/users/jonfortescue","html_url":"https://github.com/jonfortescue","followers_url":"https://api.github.com/users/jonfortescue/followers","following_url":"https://api.github.com/users/jonfortescue/following{/other_user}","gists_url":"https://api.github.com/users/jonfortescue/gists{/gist_id}","starred_url":"https://api.github.com/users/jonfortescue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonfortescue/subscriptions","organizations_url":"https://api.github.com/users/jonfortescue/orgs","repos_url":"https://api.github.com/users/jonfortescue/repos","events_url":"https://api.github.com/users/jonfortescue/events{/privacy}","received_events_url":"https://api.github.com/users/jonfortescue/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonfortescue","id":13228069,"node_id":"MDQ6VXNlcjEzMjI4MDY5","avatar_url":"https://avatars0.githubusercontent.com/u/13228069?v=4","gravatar_id":"","url":"https://api.github.com/users/jonfortescue","html_url":"https://github.com/jonfortescue","followers_url":"https://api.github.com/users/jonfortescue/followers","following_url":"https://api.github.com/users/jonfortescue/following{/other_user}","gists_url":"https://api.github.com/users/jonfortescue/gists{/gist_id}","starred_url":"https://api.github.com/users/jonfortescue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonfortescue/subscriptions","organizations_url":"https://api.github.com/users/jonfortescue/orgs","repos_url":"https://api.github.com/users/jonfortescue/repos","events_url":"https://api.github.com/users/jonfortescue/events{/privacy}","received_events_url":"https://api.github.com/users/jonfortescue/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"markwilkie","id":6334885,"node_id":"MDQ6VXNlcjYzMzQ4ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/6334885?v=4","gravatar_id":"","url":"https://api.github.com/users/markwilkie","html_url":"https://github.com/markwilkie","followers_url":"https://api.github.com/users/markwilkie/followers","following_url":"https://api.github.com/users/markwilkie/following{/other_user}","gists_url":"https://api.github.com/users/markwilkie/gists{/gist_id}","starred_url":"https://api.github.com/users/markwilkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markwilkie/subscriptions","organizations_url":"https://api.github.com/users/markwilkie/orgs","repos_url":"https://api.github.com/users/markwilkie/repos","events_url":"https://api.github.com/users/markwilkie/events{/privacy}","received_events_url":"https://api.github.com/users/markwilkie/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/arcade/pulls/828/commits","review_comments_url":"https://api.github.com/repos/dotnet/arcade/pulls/828/comments","review_comment_url":"https://api.github.com/repos/dotnet/arcade/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/arcade/issues/828/comments","statuses_url":"https://api.github.com/repos/dotnet/arcade/statuses/5628440a04a96a4588cab71cc7e534f24c867f4d","head":{"label":"dotnet:jofortes818","ref":"jofortes818","sha":"5628440a04a96a4588cab71cc7e534f24c867f4d","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":121444325,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NDQzMjU=","name":"arcade","full_name":"dotnet/arcade","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/arcade","description":"Tools that provide common build infrastructure for multiple .NET Foundation projects.","fork":false,"url":"https://api.github.com/repos/dotnet/arcade","forks_url":"https://api.github.com/repos/dotnet/arcade/forks","keys_url":"https://api.github.com/repos/dotnet/arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/arcade/teams","hooks_url":"https://api.github.com/repos/dotnet/arcade/hooks","issue_events_url":"https://api.github.com/repos/dotnet/arcade/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/arcade/events","assignees_url":"https://api.github.com/repos/dotnet/arcade/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/arcade/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/arcade/tags","blobs_url":"https://api.github.com/repos/dotnet/arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/arcade/languages","stargazers_url":"https://api.github.com/repos/dotnet/arcade/stargazers","contributors_url":"https://api.github.com/repos/dotnet/arcade/contributors","subscribers_url":"https://api.github.com/repos/dotnet/arcade/subscribers","subscription_url":"https://api.github.com/repos/dotnet/arcade/subscription","commits_url":"https://api.github.com/repos/dotnet/arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/arcade/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/arcade/merges","archive_url":"https://api.github.com/repos/dotnet/arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/arcade/downloads","issues_url":"https://api.github.com/repos/dotnet/arcade/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/arcade/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/arcade/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/arcade/deployments","created_at":"2018-02-13T22:29:54Z","updated_at":"2018-09-20T23:15:55Z","pushed_at":"2018-09-21T00:00:49Z","git_url":"git://github.com/dotnet/arcade.git","ssh_url":"git@github.com:dotnet/arcade.git","clone_url":"https://github.com/dotnet/arcade.git","svn_url":"https://github.com/dotnet/arcade","homepage":"","size":3662,"stargazers_count":15,"watchers_count":15,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":283,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":26,"open_issues":283,"watchers":15,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"d7008a0399a393bd03bb3f3bcf3e1705afad355c","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":121444325,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NDQzMjU=","name":"arcade","full_name":"dotnet/arcade","private":false,"owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotnet/arcade","description":"Tools that provide common build infrastructure for multiple .NET Foundation projects.","fork":false,"url":"https://api.github.com/repos/dotnet/arcade","forks_url":"https://api.github.com/repos/dotnet/arcade/forks","keys_url":"https://api.github.com/repos/dotnet/arcade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/arcade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/arcade/teams","hooks_url":"https://api.github.com/repos/dotnet/arcade/hooks","issue_events_url":"https://api.github.com/repos/dotnet/arcade/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/arcade/events","assignees_url":"https://api.github.com/repos/dotnet/arcade/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/arcade/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/arcade/tags","blobs_url":"https://api.github.com/repos/dotnet/arcade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/arcade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/arcade/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/arcade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/arcade/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/arcade/languages","stargazers_url":"https://api.github.com/repos/dotnet/arcade/stargazers","contributors_url":"https://api.github.com/repos/dotnet/arcade/contributors","subscribers_url":"https://api.github.com/repos/dotnet/arcade/subscribers","subscription_url":"https://api.github.com/repos/dotnet/arcade/subscription","commits_url":"https://api.github.com/repos/dotnet/arcade/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/arcade/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/arcade/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/arcade/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/arcade/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/arcade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/arcade/merges","archive_url":"https://api.github.com/repos/dotnet/arcade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/arcade/downloads","issues_url":"https://api.github.com/repos/dotnet/arcade/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/arcade/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/arcade/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/arcade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/arcade/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/arcade/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/arcade/deployments","created_at":"2018-02-13T22:29:54Z","updated_at":"2018-09-20T23:15:55Z","pushed_at":"2018-09-21T00:00:49Z","git_url":"git://github.com/dotnet/arcade.git","ssh_url":"git@github.com:dotnet/arcade.git","clone_url":"https://github.com/dotnet/arcade.git","svn_url":"https://github.com/dotnet/arcade","homepage":"","size":3662,"stargazers_count":15,"watchers_count":15,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":283,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":26,"open_issues":283,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/828"},"html":{"href":"https://github.com/dotnet/arcade/pull/828"},"issue":{"href":"https://api.github.com/repos/dotnet/arcade/issues/828"},"comments":{"href":"https://api.github.com/repos/dotnet/arcade/issues/828/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/828/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/arcade/pulls/828/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/arcade/statuses/5628440a04a96a4588cab71cc7e534f24c867f4d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"alexperovich"}}