{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1607","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1607/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1607/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1607/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1607","id":151806214,"number":1607,"title":"Azure Web App Deployment error: Web Deploy cannot modify the file - ERROR_FILE_IN_USE","user":{"login":"AndreaPic","id":15085592,"avatar_url":"https://avatars2.githubusercontent.com/u/15085592?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreaPic","html_url":"https://github.com/AndreaPic","followers_url":"https://api.github.com/users/AndreaPic/followers","following_url":"https://api.github.com/users/AndreaPic/following{/other_user}","gists_url":"https://api.github.com/users/AndreaPic/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreaPic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreaPic/subscriptions","organizations_url":"https://api.github.com/users/AndreaPic/orgs","repos_url":"https://api.github.com/users/AndreaPic/repos","events_url":"https://api.github.com/users/AndreaPic/events{/privacy}","received_events_url":"https://api.github.com/users/AndreaPic/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false},{"id":348504256,"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/deployment","name":"deployment","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"RoopeshNair","id":1370480,"avatar_url":"https://avatars3.githubusercontent.com/u/1370480?v=4","gravatar_id":"","url":"https://api.github.com/users/RoopeshNair","html_url":"https://github.com/RoopeshNair","followers_url":"https://api.github.com/users/RoopeshNair/followers","following_url":"https://api.github.com/users/RoopeshNair/following{/other_user}","gists_url":"https://api.github.com/users/RoopeshNair/gists{/gist_id}","starred_url":"https://api.github.com/users/RoopeshNair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoopeshNair/subscriptions","organizations_url":"https://api.github.com/users/RoopeshNair/orgs","repos_url":"https://api.github.com/users/RoopeshNair/repos","events_url":"https://api.github.com/users/RoopeshNair/events{/privacy}","received_events_url":"https://api.github.com/users/RoopeshNair/received_events","type":"User","site_admin":false},"assignees":[{"login":"RoopeshNair","id":1370480,"avatar_url":"https://avatars3.githubusercontent.com/u/1370480?v=4","gravatar_id":"","url":"https://api.github.com/users/RoopeshNair","html_url":"https://github.com/RoopeshNair","followers_url":"https://api.github.com/users/RoopeshNair/followers","following_url":"https://api.github.com/users/RoopeshNair/following{/other_user}","gists_url":"https://api.github.com/users/RoopeshNair/gists{/gist_id}","starred_url":"https://api.github.com/users/RoopeshNair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoopeshNair/subscriptions","organizations_url":"https://api.github.com/users/RoopeshNair/orgs","repos_url":"https://api.github.com/users/RoopeshNair/repos","events_url":"https://api.github.com/users/RoopeshNair/events{/privacy}","received_events_url":"https://api.github.com/users/RoopeshNair/received_events","type":"User","site_admin":false},{"login":"kmkumaran","id":11780076,"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,"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}],"milestone":null,"comments":103,"created_at":"2016-04-29T07:09:51Z","updated_at":"2017-08-11T03:15:22Z","closed_at":"2017-01-25T12:29:02Z","body":"Hi,\nI'm using Azure Web App Deployment Task in a step of continuous integration on Visual Studio Team Services in hosted environment.\nNightly are scheduled many rebuild of different app in a different build definition.\nEvery night some of this build definition goes in error in Web Deploy step whit this message:\n\nWeb Deploy cannot modify the file 'X' on the destination because it is locked by an external process. In order to allow the publish operation to succeed, you may need to either restart your application to release the lock, or use the AppOffline rule handler for .Net applications on your next publish attempt. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FILE_IN_USE.\n\nThe file in use isn't ever the same but can change.\nCan you help me ?\nWhat can I do ?\nThere is a way to force stopping and restarting the app ?\nThank you\nAndrea\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/321723981","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1607#issuecomment-321723981","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1607","id":321723981,"user":{"login":"thuru","id":10653957,"avatar_url":"https://avatars0.githubusercontent.com/u/10653957?v=4","gravatar_id":"","url":"https://api.github.com/users/thuru","html_url":"https://github.com/thuru","followers_url":"https://api.github.com/users/thuru/followers","following_url":"https://api.github.com/users/thuru/following{/other_user}","gists_url":"https://api.github.com/users/thuru/gists{/gist_id}","starred_url":"https://api.github.com/users/thuru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuru/subscriptions","organizations_url":"https://api.github.com/users/thuru/orgs","repos_url":"https://api.github.com/users/thuru/repos","events_url":"https://api.github.com/users/thuru/events{/privacy}","received_events_url":"https://api.github.com/users/thuru/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T03:15:22Z","updated_at":"2017-08-11T03:15:22Z","body":"@AaronRM : yes I experience the same, and the builds one after the other gets succeeded, this pattern is a very consistent from last week. \r\n\r\n<blockquote class=\"twitter-tweet\" data-lang=\"en\"><p lang=\"en\" dir=\"ltr\">2/2 occurring from Aug 3rd. When queued again it goes success. Every build one after the other getting success. <a href=\"https://twitter.com/VSTS\">@VSTS</a> <a href=\"https://t.co/QVIunduzxw\">pic.twitter.com/QVIunduzxw</a></p>&mdash; Thuru (@ThuruTweets) <a href=\"https://twitter.com/ThuruTweets/status/893517315341340672\">August 4, 2017</a></blockquote>\r\n<script async src=\"//platform.twitter.com/widgets.js\" charset=\"utf-8\"></script>"}}
{"actor":{"display_login":"thuru"}}