{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/wcf/pulls/comments/60971311","id":60971311,"diff_hunk":"@@ -0,0 +1,34 @@\n+@if \"%_echo%\" neq \"on\" echo off\n+setlocal\n+\n+REM\n+Echo Set Up test services\n+REM\n+\n+REM ServiceUri is set, then the service is not local hosted\n+if NOT \"%ServiceUri%\"==\"\" (\n+  goto :done\n+)\n+\n+REM If it's already running, we will not set up/clean up service\n+tasklist /FI \"imagename eq SelfHostedWCFService.exe\" | findstr /i /C:\"SelfHostedWCFService.exe\" 1>nul\n+if [%ERRORLEVEL%]==[0] (\n+    goto :PingService\n+)\n+\n+REM run the start wcf service elevated\n+start /D %~dp0 RunElevated.vbs StartWCFService.cmd\n+Echo WCFServiceCleanupNeeded\n+\n+\n+:PingService\n+call powershell -NoProfile -ExecutionPolicy unrestricted %~dp0pingWcfService.ps1 \"http://localhost/CrlService.svc/GetCrl?serialNum=b52\"","path":"src/System.Private.ServiceModel/tools/scripts/WCFCustomSetup.cmd","position":25,"original_position":25,"commit_id":"95ac9af69157fc1175dd95175a36ac0f6b2ddd8b","original_commit_id":"95ac9af69157fc1175dd95175a36ac0f6b2ddd8b","user":{"login":"roncain","id":3913124,"avatar_url":"https://avatars.githubusercontent.com/u/3913124?v=3","gravatar_id":"","url":"https://api.github.com/users/roncain","html_url":"https://github.com/roncain","followers_url":"https://api.github.com/users/roncain/followers","following_url":"https://api.github.com/users/roncain/following{/other_user}","gists_url":"https://api.github.com/users/roncain/gists{/gist_id}","starred_url":"https://api.github.com/users/roncain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roncain/subscriptions","organizations_url":"https://api.github.com/users/roncain/orgs","repos_url":"https://api.github.com/users/roncain/repos","events_url":"https://api.github.com/users/roncain/events{/privacy}","received_events_url":"https://api.github.com/users/roncain/received_events","type":"User","site_admin":false},"body":"What is serialNum=52 for?  Recommend adding a comment.","created_at":"2016-04-25T19:17:02Z","updated_at":"2016-04-25T19:17:02Z","html_url":"https://github.com/dotnet/wcf/pull/1083#discussion_r60971311","pull_request_url":"https://api.github.com/repos/dotnet/wcf/pulls/1083","_links":{"self":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/comments/60971311"},"html":{"href":"https://github.com/dotnet/wcf/pull/1083#discussion_r60971311"},"pull_request":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/1083"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/wcf/pulls/1083","id":67765319,"html_url":"https://github.com/dotnet/wcf/pull/1083","diff_url":"https://github.com/dotnet/wcf/pull/1083.diff","patch_url":"https://github.com/dotnet/wcf/pull/1083.patch","issue_url":"https://api.github.com/repos/dotnet/wcf/issues/1083","number":1083,"state":"open","locked":false,"title":"Integrate dev experience to build","user":{"login":"hongdai","id":2193418,"avatar_url":"https://avatars.githubusercontent.com/u/2193418?v=3","gravatar_id":"","url":"https://api.github.com/users/hongdai","html_url":"https://github.com/hongdai","followers_url":"https://api.github.com/users/hongdai/followers","following_url":"https://api.github.com/users/hongdai/following{/other_user}","gists_url":"https://api.github.com/users/hongdai/gists{/gist_id}","starred_url":"https://api.github.com/users/hongdai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongdai/subscriptions","organizations_url":"https://api.github.com/users/hongdai/orgs","repos_url":"https://api.github.com/users/hongdai/repos","events_url":"https://api.github.com/users/hongdai/events{/privacy}","received_events_url":"https://api.github.com/users/hongdai/received_events","type":"User","site_admin":false},"body":"* Hook Start and clean up service into build\r\n* If the build starts the service, it will clean up the service as well.\r\n* If the service already started, the build will not restart and clean up.\r\n* The start service will be elevated.\r\n* Need feedback on whether \"BuildAllProjects\" target is the best target to ensure\r\nset up get run before tests start.\r\n* I have removed all ENDLOCAL as it's not needed.\r\n* Each script is designed to handle a particular set up and clean up so that the scripts can share between Lab and Dev experiences.\r\n* We ping the service in the set up to ensure the service is fully started.\r\n* All clean up errors are treated as non fatal. Need feedback on it.","created_at":"2016-04-25T18:24:20Z","updated_at":"2016-04-25T19:17:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"350981e009af22fb1f1bff5264e8a7dbbeefc2ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/wcf/pulls/1083/commits","review_comments_url":"https://api.github.com/repos/dotnet/wcf/pulls/1083/comments","review_comment_url":"https://api.github.com/repos/dotnet/wcf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/wcf/issues/1083/comments","statuses_url":"https://api.github.com/repos/dotnet/wcf/statuses/95ac9af69157fc1175dd95175a36ac0f6b2ddd8b","head":{"label":"hongdai:buildcmd","ref":"buildcmd","sha":"95ac9af69157fc1175dd95175a36ac0f6b2ddd8b","user":{"login":"hongdai","id":2193418,"avatar_url":"https://avatars.githubusercontent.com/u/2193418?v=3","gravatar_id":"","url":"https://api.github.com/users/hongdai","html_url":"https://github.com/hongdai","followers_url":"https://api.github.com/users/hongdai/followers","following_url":"https://api.github.com/users/hongdai/following{/other_user}","gists_url":"https://api.github.com/users/hongdai/gists{/gist_id}","starred_url":"https://api.github.com/users/hongdai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongdai/subscriptions","organizations_url":"https://api.github.com/users/hongdai/orgs","repos_url":"https://api.github.com/users/hongdai/repos","events_url":"https://api.github.com/users/hongdai/events{/privacy}","received_events_url":"https://api.github.com/users/hongdai/received_events","type":"User","site_admin":false},"repo":{"id":35958884,"name":"wcf","full_name":"hongdai/wcf","owner":{"login":"hongdai","id":2193418,"avatar_url":"https://avatars.githubusercontent.com/u/2193418?v=3","gravatar_id":"","url":"https://api.github.com/users/hongdai","html_url":"https://github.com/hongdai","followers_url":"https://api.github.com/users/hongdai/followers","following_url":"https://api.github.com/users/hongdai/following{/other_user}","gists_url":"https://api.github.com/users/hongdai/gists{/gist_id}","starred_url":"https://api.github.com/users/hongdai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongdai/subscriptions","organizations_url":"https://api.github.com/users/hongdai/orgs","repos_url":"https://api.github.com/users/hongdai/repos","events_url":"https://api.github.com/users/hongdai/events{/privacy}","received_events_url":"https://api.github.com/users/hongdai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hongdai/wcf","description":"This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.","fork":true,"url":"https://api.github.com/repos/hongdai/wcf","forks_url":"https://api.github.com/repos/hongdai/wcf/forks","keys_url":"https://api.github.com/repos/hongdai/wcf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hongdai/wcf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hongdai/wcf/teams","hooks_url":"https://api.github.com/repos/hongdai/wcf/hooks","issue_events_url":"https://api.github.com/repos/hongdai/wcf/issues/events{/number}","events_url":"https://api.github.com/repos/hongdai/wcf/events","assignees_url":"https://api.github.com/repos/hongdai/wcf/assignees{/user}","branches_url":"https://api.github.com/repos/hongdai/wcf/branches{/branch}","tags_url":"https://api.github.com/repos/hongdai/wcf/tags","blobs_url":"https://api.github.com/repos/hongdai/wcf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hongdai/wcf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hongdai/wcf/git/refs{/sha}","trees_url":"https://api.github.com/repos/hongdai/wcf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hongdai/wcf/statuses/{sha}","languages_url":"https://api.github.com/repos/hongdai/wcf/languages","stargazers_url":"https://api.github.com/repos/hongdai/wcf/stargazers","contributors_url":"https://api.github.com/repos/hongdai/wcf/contributors","subscribers_url":"https://api.github.com/repos/hongdai/wcf/subscribers","subscription_url":"https://api.github.com/repos/hongdai/wcf/subscription","commits_url":"https://api.github.com/repos/hongdai/wcf/commits{/sha}","git_commits_url":"https://api.github.com/repos/hongdai/wcf/git/commits{/sha}","comments_url":"https://api.github.com/repos/hongdai/wcf/comments{/number}","issue_comment_url":"https://api.github.com/repos/hongdai/wcf/issues/comments{/number}","contents_url":"https://api.github.com/repos/hongdai/wcf/contents/{+path}","compare_url":"https://api.github.com/repos/hongdai/wcf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hongdai/wcf/merges","archive_url":"https://api.github.com/repos/hongdai/wcf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hongdai/wcf/downloads","issues_url":"https://api.github.com/repos/hongdai/wcf/issues{/number}","pulls_url":"https://api.github.com/repos/hongdai/wcf/pulls{/number}","milestones_url":"https://api.github.com/repos/hongdai/wcf/milestones{/number}","notifications_url":"https://api.github.com/repos/hongdai/wcf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hongdai/wcf/labels{/name}","releases_url":"https://api.github.com/repos/hongdai/wcf/releases{/id}","deployments_url":"https://api.github.com/repos/hongdai/wcf/deployments","created_at":"2015-05-20T16:05:31Z","updated_at":"2016-01-12T17:09:42Z","pushed_at":"2016-04-25T18:25:25Z","git_url":"git://github.com/hongdai/wcf.git","ssh_url":"git@github.com:hongdai/wcf.git","clone_url":"https://github.com/hongdai/wcf.git","svn_url":"https://github.com/hongdai/wcf","homepage":"","size":5330,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"1624dfdcd3339492aecdeda3c8ecabc2f184d45d","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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":35562993,"name":"wcf","full_name":"dotnet/wcf","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","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},"private":false,"html_url":"https://github.com/dotnet/wcf","description":"This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.","fork":false,"url":"https://api.github.com/repos/dotnet/wcf","forks_url":"https://api.github.com/repos/dotnet/wcf/forks","keys_url":"https://api.github.com/repos/dotnet/wcf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/wcf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/wcf/teams","hooks_url":"https://api.github.com/repos/dotnet/wcf/hooks","issue_events_url":"https://api.github.com/repos/dotnet/wcf/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/wcf/events","assignees_url":"https://api.github.com/repos/dotnet/wcf/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/wcf/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/wcf/tags","blobs_url":"https://api.github.com/repos/dotnet/wcf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/wcf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/wcf/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/wcf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/wcf/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/wcf/languages","stargazers_url":"https://api.github.com/repos/dotnet/wcf/stargazers","contributors_url":"https://api.github.com/repos/dotnet/wcf/contributors","subscribers_url":"https://api.github.com/repos/dotnet/wcf/subscribers","subscription_url":"https://api.github.com/repos/dotnet/wcf/subscription","commits_url":"https://api.github.com/repos/dotnet/wcf/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/wcf/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/wcf/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/wcf/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/wcf/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/wcf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/wcf/merges","archive_url":"https://api.github.com/repos/dotnet/wcf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/wcf/downloads","issues_url":"https://api.github.com/repos/dotnet/wcf/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/wcf/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/wcf/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/wcf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/wcf/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/wcf/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/wcf/deployments","created_at":"2015-05-13T17:17:03Z","updated_at":"2016-04-25T07:57:15Z","pushed_at":"2016-04-25T18:39:01Z","git_url":"git://github.com/dotnet/wcf.git","ssh_url":"git@github.com:dotnet/wcf.git","clone_url":"https://github.com/dotnet/wcf.git","svn_url":"https://github.com/dotnet/wcf","homepage":"","size":6798,"stargazers_count":603,"watchers_count":603,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":156,"forks":207,"open_issues":156,"watchers":603,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/1083"},"html":{"href":"https://github.com/dotnet/wcf/pull/1083"},"issue":{"href":"https://api.github.com/repos/dotnet/wcf/issues/1083"},"comments":{"href":"https://api.github.com/repos/dotnet/wcf/issues/1083/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/1083/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/wcf/pulls/1083/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/wcf/statuses/95ac9af69157fc1175dd95175a36ac0f6b2ddd8b"}}}}