{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/68177919","id":68177919,"diff_hunk":"@@ -343,8 +350,249 @@ function getTestResultsDirectory(settingsFile: string, defaultResultsDirectory:\n     return defer.promise;\n }\n \n+function getTICollectorURI () {\n+    return \"datacollector://microsoft/TestImpact/1.0\";\n+}\n+\n+function getTIAssemblyQualifiedName(vsVersion) {\n+    return \"Microsoft.VisualStudio.TraceCollector.TestImpactDataCollector, Microsoft.VisualStudio.TraceCollector, Version=\" + vsVersion + \".0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\";\n+}\n+\n+function getTIFriendlyName() {\n+    return \"Test Impact\";\n+}\n+\n+function getTestImpactAttributes(vsVersion) {\n+    return { uri: getTICollectorURI(),\n+             assemblyQualifiedName: getTIAssemblyQualifiedName(vsVersion),\n+             friendlyName: getTIFriendlyName() };\n+}\n+\n+function isTestImapctCollectorPresent(dataCollectorArray) {\n+    var found = false;\n+    var tiaFriendlyName = getTIFriendlyName().toUpperCase();\n+    for (var i = 0; i < dataCollectorArray.length; i++) {","path":"Tasks/VsTest/vstest.ts","position":175,"original_position":175,"commit_id":"4969ed08231e70c877d2b8d5bb7f08f9c9bd058d","original_commit_id":"4969ed08231e70c877d2b8d5bb7f08f9c9bd058d","user":{"login":"nigurr","id":15208679,"avatar_url":"https://avatars.githubusercontent.com/u/15208679?v=3","gravatar_id":"","url":"https://api.github.com/users/nigurr","html_url":"https://github.com/nigurr","followers_url":"https://api.github.com/users/nigurr/followers","following_url":"https://api.github.com/users/nigurr/following{/other_user}","gists_url":"https://api.github.com/users/nigurr/gists{/gist_id}","starred_url":"https://api.github.com/users/nigurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigurr/subscriptions","organizations_url":"https://api.github.com/users/nigurr/orgs","repos_url":"https://api.github.com/users/nigurr/repos","events_url":"https://api.github.com/users/nigurr/events{/privacy}","received_events_url":"https://api.github.com/users/nigurr/received_events","type":"User","site_admin":false},"body":"foreach","created_at":"2016-06-23T05:32:28Z","updated_at":"2016-06-23T05:32:28Z","html_url":"https://github.com/Microsoft/vsts-tasks/pull/1932#discussion_r68177919","pull_request_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/68177919"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/1932#discussion_r68177919"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932","id":74896243,"html_url":"https://github.com/Microsoft/vsts-tasks/pull/1932","diff_url":"https://github.com/Microsoft/vsts-tasks/pull/1932.diff","patch_url":"https://github.com/Microsoft/vsts-tasks/pull/1932.patch","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1932","number":1932,"state":"open","locked":false,"title":"Users/sathar/enable tia run settings","user":{"login":"SatishThareja","id":15210210,"avatar_url":"https://avatars.githubusercontent.com/u/15210210?v=3","gravatar_id":"","url":"https://api.github.com/users/SatishThareja","html_url":"https://github.com/SatishThareja","followers_url":"https://api.github.com/users/SatishThareja/followers","following_url":"https://api.github.com/users/SatishThareja/following{/other_user}","gists_url":"https://api.github.com/users/SatishThareja/gists{/gist_id}","starred_url":"https://api.github.com/users/SatishThareja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatishThareja/subscriptions","organizations_url":"https://api.github.com/users/SatishThareja/orgs","repos_url":"https://api.github.com/users/SatishThareja/repos","events_url":"https://api.github.com/users/SatishThareja/events{/privacy}","received_events_url":"https://api.github.com/users/SatishThareja/received_events","type":"User","site_admin":false},"body":"New branch created cherry-picking commits from prev branch.","created_at":"2016-06-23T04:59:03Z","updated_at":"2016-06-23T05:32:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d69b68d3fc38614d32f033e13390c0164cb50d28","assignee":{"login":"AshwiniChalla","id":11781961,"avatar_url":"https://avatars.githubusercontent.com/u/11781961?v=3","gravatar_id":"","url":"https://api.github.com/users/AshwiniChalla","html_url":"https://github.com/AshwiniChalla","followers_url":"https://api.github.com/users/AshwiniChalla/followers","following_url":"https://api.github.com/users/AshwiniChalla/following{/other_user}","gists_url":"https://api.github.com/users/AshwiniChalla/gists{/gist_id}","starred_url":"https://api.github.com/users/AshwiniChalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshwiniChalla/subscriptions","organizations_url":"https://api.github.com/users/AshwiniChalla/orgs","repos_url":"https://api.github.com/users/AshwiniChalla/repos","events_url":"https://api.github.com/users/AshwiniChalla/events{/privacy}","received_events_url":"https://api.github.com/users/AshwiniChalla/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1932/comments","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/4969ed08231e70c877d2b8d5bb7f08f9c9bd058d","head":{"label":"Microsoft:users/sathar/enableTiaRunSettings","ref":"users/sathar/enableTiaRunSettings","sha":"4969ed08231e70c877d2b8d5bb7f08f9c9bd058d","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27631673,"name":"vsts-tasks","full_name":"Microsoft/vsts-tasks","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vsts-tasks","description":"Build and Release Tasks for Visual Studio Online and Team Foundation Server","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-tasks","forks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-tasks/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-tasks/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-tasks/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-tasks/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/deployments","created_at":"2014-12-06T11:11:46Z","updated_at":"2016-06-20T02:21:57Z","pushed_at":"2016-06-23T05:10:15Z","git_url":"git://github.com/Microsoft/vsts-tasks.git","ssh_url":"git@github.com:Microsoft/vsts-tasks.git","clone_url":"https://github.com/Microsoft/vsts-tasks.git","svn_url":"https://github.com/Microsoft/vsts-tasks","homepage":" https://www.visualstudio.com/features/devops-vs","size":13317,"stargazers_count":339,"watchers_count":339,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":286,"mirror_url":null,"open_issues_count":116,"forks":286,"open_issues":116,"watchers":339,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"1140d48d70cd0db203676da54a3335793b3dcce9","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":27631673,"name":"vsts-tasks","full_name":"Microsoft/vsts-tasks","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vsts-tasks","description":"Build and Release Tasks for Visual Studio Online and Team Foundation Server","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-tasks","forks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-tasks/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-tasks/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-tasks/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-tasks/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-tasks/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-tasks/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/deployments","created_at":"2014-12-06T11:11:46Z","updated_at":"2016-06-20T02:21:57Z","pushed_at":"2016-06-23T05:10:15Z","git_url":"git://github.com/Microsoft/vsts-tasks.git","ssh_url":"git@github.com:Microsoft/vsts-tasks.git","clone_url":"https://github.com/Microsoft/vsts-tasks.git","svn_url":"https://github.com/Microsoft/vsts-tasks","homepage":" https://www.visualstudio.com/features/devops-vs","size":13317,"stargazers_count":339,"watchers_count":339,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":286,"mirror_url":null,"open_issues_count":116,"forks":286,"open_issues":116,"watchers":339,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/1932"},"issue":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1932"},"comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1932/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/1932/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/4969ed08231e70c877d2b8d5bb7f08f9c9bd058d"}}}}
{"actor":{"display_login":"nigurr"}}