{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/92752368","pull_request_review_id":13273090,"id":92752368,"diff_hunk":"@@ -130,8 +130,9 @@ export class azureclitask {\n         if (endpointAuth.scheme === \"Certificate\") {\n             var bytes = endpointAuth.parameters[\"certificate\"];\n             var subscriptionId:string = tl.getEndpointDataParameter(connectedService, \"SubscriptionId\", true);\n+            var serviceManagementUrl:string = tl.getEndpointUrl(connectedService, false);\n             const publishSettingFileName:string = path.join(os.tmpdir() ,\"subscriptions\" + new Date().getTime() + \".publishsettings\");","path":"Tasks/AzureCLI/azureclitask.ts","position":5,"original_position":5,"commit_id":"86b8a8b377f15aae1cddbd515e39354989ecf851","original_commit_id":"119864cea082fe39a4051941fc340e0b313174a2","user":{"login":"hiyadav","id":20859325,"avatar_url":"https://avatars.githubusercontent.com/u/20859325?v=3","gravatar_id":"","url":"https://api.github.com/users/hiyadav","html_url":"https://github.com/hiyadav","followers_url":"https://api.github.com/users/hiyadav/followers","following_url":"https://api.github.com/users/hiyadav/following{/other_user}","gists_url":"https://api.github.com/users/hiyadav/gists{/gist_id}","starred_url":"https://api.github.com/users/hiyadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiyadav/subscriptions","organizations_url":"https://api.github.com/users/hiyadav/orgs","repos_url":"https://api.github.com/users/hiyadav/repos","events_url":"https://api.github.com/users/hiyadav/events{/privacy}","received_events_url":"https://api.github.com/users/hiyadav/received_events","type":"User","site_admin":false},"body":"a default service URL used to be present in older endpoints. so we should be fine.","created_at":"2016-12-16T04:55:21Z","updated_at":"2016-12-16T04:55:21Z","html_url":"https://github.com/Microsoft/vsts-tasks/pull/3256#discussion_r92752368","pull_request_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/comments/92752368"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/3256#discussion_r92752368"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256","id":97915638,"html_url":"https://github.com/Microsoft/vsts-tasks/pull/3256","diff_url":"https://github.com/Microsoft/vsts-tasks/pull/3256.diff","patch_url":"https://github.com/Microsoft/vsts-tasks/pull/3256.patch","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/3256","number":3256,"state":"open","locked":false,"title":"azurecli classic cert auth's service url picked from endpoint","user":{"login":"hiyadav","id":20859325,"avatar_url":"https://avatars.githubusercontent.com/u/20859325?v=3","gravatar_id":"","url":"https://api.github.com/users/hiyadav","html_url":"https://github.com/hiyadav","followers_url":"https://api.github.com/users/hiyadav/followers","following_url":"https://api.github.com/users/hiyadav/following{/other_user}","gists_url":"https://api.github.com/users/hiyadav/gists{/gist_id}","starred_url":"https://api.github.com/users/hiyadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiyadav/subscriptions","organizations_url":"https://api.github.com/users/hiyadav/orgs","repos_url":"https://api.github.com/users/hiyadav/repos","events_url":"https://api.github.com/users/hiyadav/events{/privacy}","received_events_url":"https://api.github.com/users/hiyadav/received_events","type":"User","site_admin":false},"body":"Azure-CLI classic cert based authentication's Service Management URL will be picked from endpoint.","created_at":"2016-12-14T09:31:15Z","updated_at":"2016-12-16T04:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a786f09a0247cc2e7b0e61640de0dd6bc042316","assignee":{"login":"sachinma","id":17923727,"avatar_url":"https://avatars.githubusercontent.com/u/17923727?v=3","gravatar_id":"","url":"https://api.github.com/users/sachinma","html_url":"https://github.com/sachinma","followers_url":"https://api.github.com/users/sachinma/followers","following_url":"https://api.github.com/users/sachinma/following{/other_user}","gists_url":"https://api.github.com/users/sachinma/gists{/gist_id}","starred_url":"https://api.github.com/users/sachinma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachinma/subscriptions","organizations_url":"https://api.github.com/users/sachinma/orgs","repos_url":"https://api.github.com/users/sachinma/repos","events_url":"https://api.github.com/users/sachinma/events{/privacy}","received_events_url":"https://api.github.com/users/sachinma/received_events","type":"User","site_admin":false},"assignees":[{"login":"sachinma","id":17923727,"avatar_url":"https://avatars.githubusercontent.com/u/17923727?v=3","gravatar_id":"","url":"https://api.github.com/users/sachinma","html_url":"https://github.com/sachinma","followers_url":"https://api.github.com/users/sachinma/followers","following_url":"https://api.github.com/users/sachinma/following{/other_user}","gists_url":"https://api.github.com/users/sachinma/gists{/gist_id}","starred_url":"https://api.github.com/users/sachinma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachinma/subscriptions","organizations_url":"https://api.github.com/users/sachinma/orgs","repos_url":"https://api.github.com/users/sachinma/repos","events_url":"https://api.github.com/users/sachinma/events{/privacy}","received_events_url":"https://api.github.com/users/sachinma/received_events","type":"User","site_admin":false},{"login":"amaljg","id":19945729,"avatar_url":"https://avatars.githubusercontent.com/u/19945729?v=3","gravatar_id":"","url":"https://api.github.com/users/amaljg","html_url":"https://github.com/amaljg","followers_url":"https://api.github.com/users/amaljg/followers","following_url":"https://api.github.com/users/amaljg/following{/other_user}","gists_url":"https://api.github.com/users/amaljg/gists{/gist_id}","starred_url":"https://api.github.com/users/amaljg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaljg/subscriptions","organizations_url":"https://api.github.com/users/amaljg/orgs","repos_url":"https://api.github.com/users/amaljg/repos","events_url":"https://api.github.com/users/amaljg/events{/privacy}","received_events_url":"https://api.github.com/users/amaljg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256/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/3256/comments","statuses_url":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/86b8a8b377f15aae1cddbd515e39354989ecf851","head":{"label":"Microsoft:users/hiyada/Azurecli","ref":"users/hiyada/Azurecli","sha":"86b8a8b377f15aae1cddbd515e39354989ecf851","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 Team Services 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-12-15T21:43:05Z","pushed_at":"2016-12-16T04:44:54Z","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://aka.ms/tfbuild","size":23298,"stargazers_count":472,"watchers_count":472,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":435,"mirror_url":null,"open_issues_count":115,"forks":435,"open_issues":115,"watchers":472,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"8a9ea99f4d4d4942bb553e5bc9e61e70dc4ee781","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 Team Services 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-12-15T21:43:05Z","pushed_at":"2016-12-16T04:44:54Z","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://aka.ms/tfbuild","size":23298,"stargazers_count":472,"watchers_count":472,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":435,"mirror_url":null,"open_issues_count":115,"forks":435,"open_issues":115,"watchers":472,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256"},"html":{"href":"https://github.com/Microsoft/vsts-tasks/pull/3256"},"issue":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/3256"},"comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/3256/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/pulls/3256/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/3256/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vsts-tasks/statuses/86b8a8b377f15aae1cddbd515e39354989ecf851"}}}}
{"actor":{"display_login":"hiyadav"}}