{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/10940","repository_url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks","labels_url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/10940/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/10940/comments","events_url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/10940/events","html_url":"https://github.com/microsoft/azure-pipelines-tasks/pull/10940","id":469975479,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk5MDgwMjcx","number":10940,"title":"Properly clean up Azure Powershell temp files","user":{"login":"rreichel3","id":976632,"node_id":"MDQ6VXNlcjk3NjYzMg==","avatar_url":"https://avatars3.githubusercontent.com/u/976632?v=4","gravatar_id":"","url":"https://api.github.com/users/rreichel3","html_url":"https://github.com/rreichel3","followers_url":"https://api.github.com/users/rreichel3/followers","following_url":"https://api.github.com/users/rreichel3/following{/other_user}","gists_url":"https://api.github.com/users/rreichel3/gists{/gist_id}","starred_url":"https://api.github.com/users/rreichel3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rreichel3/subscriptions","organizations_url":"https://api.github.com/users/rreichel3/orgs","repos_url":"https://api.github.com/users/rreichel3/repos","events_url":"https://api.github.com/users/rreichel3/events{/privacy}","received_events_url":"https://api.github.com/users/rreichel3/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"node_id":"MDU6TGFiZWwzOTEwODgyMzA=","url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"kmkumaran","id":11780076,"node_id":"MDQ6VXNlcjExNzgwMDc2","avatar_url":"https://avatars2.githubusercontent.com/u/11780076?v=4","gravatar_id":"","url":"https://api.github.com/users/kmkumaran","html_url":"https://github.com/kmkumaran","followers_url":"https://api.github.com/users/kmkumaran/followers","following_url":"https://api.github.com/users/kmkumaran/following{/other_user}","gists_url":"https://api.github.com/users/kmkumaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkumaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkumaran/subscriptions","organizations_url":"https://api.github.com/users/kmkumaran/orgs","repos_url":"https://api.github.com/users/kmkumaran/repos","events_url":"https://api.github.com/users/kmkumaran/events{/privacy}","received_events_url":"https://api.github.com/users/kmkumaran/received_events","type":"User","site_admin":false},"assignees":[{"login":"kmkumaran","id":11780076,"node_id":"MDQ6VXNlcjExNzgwMDc2","avatar_url":"https://avatars2.githubusercontent.com/u/11780076?v=4","gravatar_id":"","url":"https://api.github.com/users/kmkumaran","html_url":"https://github.com/kmkumaran","followers_url":"https://api.github.com/users/kmkumaran/followers","following_url":"https://api.github.com/users/kmkumaran/following{/other_user}","gists_url":"https://api.github.com/users/kmkumaran/gists{/gist_id}","starred_url":"https://api.github.com/users/kmkumaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmkumaran/subscriptions","organizations_url":"https://api.github.com/users/kmkumaran/orgs","repos_url":"https://api.github.com/users/kmkumaran/repos","events_url":"https://api.github.com/users/kmkumaran/events{/privacy}","received_events_url":"https://api.github.com/users/kmkumaran/received_events","type":"User","site_admin":false},{"login":"chshrikh","id":11972852,"node_id":"MDQ6VXNlcjExOTcyODUy","avatar_url":"https://avatars1.githubusercontent.com/u/11972852?v=4","gravatar_id":"","url":"https://api.github.com/users/chshrikh","html_url":"https://github.com/chshrikh","followers_url":"https://api.github.com/users/chshrikh/followers","following_url":"https://api.github.com/users/chshrikh/following{/other_user}","gists_url":"https://api.github.com/users/chshrikh/gists{/gist_id}","starred_url":"https://api.github.com/users/chshrikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshrikh/subscriptions","organizations_url":"https://api.github.com/users/chshrikh/orgs","repos_url":"https://api.github.com/users/chshrikh/repos","events_url":"https://api.github.com/users/chshrikh/events{/privacy}","received_events_url":"https://api.github.com/users/chshrikh/received_events","type":"User","site_admin":false},{"login":"arjgupta","id":20121532,"node_id":"MDQ6VXNlcjIwMTIxNTMy","avatar_url":"https://avatars0.githubusercontent.com/u/20121532?v=4","gravatar_id":"","url":"https://api.github.com/users/arjgupta","html_url":"https://github.com/arjgupta","followers_url":"https://api.github.com/users/arjgupta/followers","following_url":"https://api.github.com/users/arjgupta/following{/other_user}","gists_url":"https://api.github.com/users/arjgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/arjgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjgupta/subscriptions","organizations_url":"https://api.github.com/users/arjgupta/orgs","repos_url":"https://api.github.com/users/arjgupta/repos","events_url":"https://api.github.com/users/arjgupta/events{/privacy}","received_events_url":"https://api.github.com/users/arjgupta/received_events","type":"User","site_admin":false},{"login":"20shivangi","id":45754171,"node_id":"MDQ6VXNlcjQ1NzU0MTcx","avatar_url":"https://avatars1.githubusercontent.com/u/45754171?v=4","gravatar_id":"","url":"https://api.github.com/users/20shivangi","html_url":"https://github.com/20shivangi","followers_url":"https://api.github.com/users/20shivangi/followers","following_url":"https://api.github.com/users/20shivangi/following{/other_user}","gists_url":"https://api.github.com/users/20shivangi/gists{/gist_id}","starred_url":"https://api.github.com/users/20shivangi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/20shivangi/subscriptions","organizations_url":"https://api.github.com/users/20shivangi/orgs","repos_url":"https://api.github.com/users/20shivangi/repos","events_url":"https://api.github.com/users/20shivangi/events{/privacy}","received_events_url":"https://api.github.com/users/20shivangi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2019-07-18T20:31:44Z","updated_at":"2019-08-20T09:52:52Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/pulls/10940","html_url":"https://github.com/microsoft/azure-pipelines-tasks/pull/10940","diff_url":"https://github.com/microsoft/azure-pipelines-tasks/pull/10940.diff","patch_url":"https://github.com/microsoft/azure-pipelines-tasks/pull/10940.patch"},"body":"This change fixes a bug where the PowerShell file that is executed is not properly cleaned up. It is likely that the file will contain sensitive information and thus should be properly cleaned. \r\n\r\nThe new approach adds a ```finally``` block at the end of execution then checks to ensure that the file has been created and if it was created then it will go ahead and delete the file synchronously.  \r\n\r\nExecution of ```node make.js test --task AzurePowerShellV4``` was successful.\r\n\r\nThis change is in relation to #10941\r\n"},"comment":{"url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/comments/522942112","html_url":"https://github.com/microsoft/azure-pipelines-tasks/pull/10940#issuecomment-522942112","issue_url":"https://api.github.com/repos/microsoft/azure-pipelines-tasks/issues/10940","id":522942112,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMjk0MjExMg==","user":{"login":"RoshanKumarMicrosoft","id":33001640,"node_id":"MDQ6VXNlcjMzMDAxNjQw","avatar_url":"https://avatars3.githubusercontent.com/u/33001640?v=4","gravatar_id":"","url":"https://api.github.com/users/RoshanKumarMicrosoft","html_url":"https://github.com/RoshanKumarMicrosoft","followers_url":"https://api.github.com/users/RoshanKumarMicrosoft/followers","following_url":"https://api.github.com/users/RoshanKumarMicrosoft/following{/other_user}","gists_url":"https://api.github.com/users/RoshanKumarMicrosoft/gists{/gist_id}","starred_url":"https://api.github.com/users/RoshanKumarMicrosoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoshanKumarMicrosoft/subscriptions","organizations_url":"https://api.github.com/users/RoshanKumarMicrosoft/orgs","repos_url":"https://api.github.com/users/RoshanKumarMicrosoft/repos","events_url":"https://api.github.com/users/RoshanKumarMicrosoft/events{/privacy}","received_events_url":"https://api.github.com/users/RoshanKumarMicrosoft/received_events","type":"User","site_admin":false},"created_at":"2019-08-20T09:52:52Z","updated_at":"2019-08-20T09:52:52Z","author_association":"CONTRIBUTOR","body":"Adding @20shivangi  for approval ."}}
{"actor":{"display_login":"RoshanKumarMicrosoft"}}