{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2569","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2569/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2569/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2569/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/2569","id":177924531,"number":2569,"title":"Azure Deployment task status showing succeeded though the deployment is failed","user":{"login":"PrashanthReddyAnnedla","id":22106905,"avatar_url":"https://avatars.githubusercontent.com/u/22106905?v=3","gravatar_id":"","url":"https://api.github.com/users/PrashanthReddyAnnedla","html_url":"https://github.com/PrashanthReddyAnnedla","followers_url":"https://api.github.com/users/PrashanthReddyAnnedla/followers","following_url":"https://api.github.com/users/PrashanthReddyAnnedla/following{/other_user}","gists_url":"https://api.github.com/users/PrashanthReddyAnnedla/gists{/gist_id}","starred_url":"https://api.github.com/users/PrashanthReddyAnnedla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrashanthReddyAnnedla/subscriptions","organizations_url":"https://api.github.com/users/PrashanthReddyAnnedla/orgs","repos_url":"https://api.github.com/users/PrashanthReddyAnnedla/repos","events_url":"https://api.github.com/users/PrashanthReddyAnnedla/events{/privacy}","received_events_url":"https://api.github.com/users/PrashanthReddyAnnedla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20RM","name":"Area: RM","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"kmkumaran","id":11780076,"avatar_url":"https://avatars.githubusercontent.com/u/11780076?v=3","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,"avatar_url":"https://avatars.githubusercontent.com/u/11780076?v=3","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":"vincentdass","id":20121508,"avatar_url":"https://avatars.githubusercontent.com/u/20121508?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentdass","html_url":"https://github.com/vincentdass","followers_url":"https://api.github.com/users/vincentdass/followers","following_url":"https://api.github.com/users/vincentdass/following{/other_user}","gists_url":"https://api.github.com/users/vincentdass/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentdass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentdass/subscriptions","organizations_url":"https://api.github.com/users/vincentdass/orgs","repos_url":"https://api.github.com/users/vincentdass/repos","events_url":"https://api.github.com/users/vincentdass/events{/privacy}","received_events_url":"https://api.github.com/users/vincentdass/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-09-19T23:27:14Z","updated_at":"2016-09-21T18:06:56Z","closed_at":null,"body":"I am using Azure deployment task for WebApp deployments. The task status is showing as succeeded though we have an error in the logs and the deployment is not succeeded. \r\n\r\n2016-09-19T19:32:09.7471700Z ##[error]Unable to perform the operation (\"Delete File\")  for the specified directory (\"D:\\home\\site\\wwwroot\\bin\\Microsoft.IdentityModel.dll\"). This can occur if the server administrator has not authorized this operation for the user credentials you are using.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_INSUFFICIENT_ACCESS_TO_SITE_FOLDER.\r\n \r\nIs there anyway to fail the task if the deployment has any errors with it."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/248694409","html_url":"https://github.com/Microsoft/vsts-tasks/issues/2569#issuecomment-248694409","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/2569","id":248694409,"user":{"login":"PrashanthReddyAnnedla","id":22106905,"avatar_url":"https://avatars.githubusercontent.com/u/22106905?v=3","gravatar_id":"","url":"https://api.github.com/users/PrashanthReddyAnnedla","html_url":"https://github.com/PrashanthReddyAnnedla","followers_url":"https://api.github.com/users/PrashanthReddyAnnedla/followers","following_url":"https://api.github.com/users/PrashanthReddyAnnedla/following{/other_user}","gists_url":"https://api.github.com/users/PrashanthReddyAnnedla/gists{/gist_id}","starred_url":"https://api.github.com/users/PrashanthReddyAnnedla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrashanthReddyAnnedla/subscriptions","organizations_url":"https://api.github.com/users/PrashanthReddyAnnedla/orgs","repos_url":"https://api.github.com/users/PrashanthReddyAnnedla/repos","events_url":"https://api.github.com/users/PrashanthReddyAnnedla/events{/privacy}","received_events_url":"https://api.github.com/users/PrashanthReddyAnnedla/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T18:06:56Z","updated_at":"2016-09-21T18:06:56Z","body":"@vincentdass - Attached the log file. I am not sure about the task version, it wont display in the log output.\r\n[Log.txt](https://github.com/Microsoft/vsts-tasks/files/485710/Log.txt)\r\n\r\nScale Unit : \"tfsprodeus2su2.cloudapp.net\"\r\n"}}
{"actor":{"display_login":"PrashanthReddyAnnedla"}}