{"action":"closed","issue":{"url":"https://api.github.com/repos/projectkudu/kudu/issues/2073","repository_url":"https://api.github.com/repos/projectkudu/kudu","labels_url":"https://api.github.com/repos/projectkudu/kudu/issues/2073/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/kudu/issues/2073/comments","events_url":"https://api.github.com/repos/projectkudu/kudu/issues/2073/events","html_url":"https://github.com/projectkudu/kudu/issues/2073","id":163488995,"number":2073,"title":"Autoswap of failed deployment","user":{"login":"siroky","id":435787,"avatar_url":"https://avatars.githubusercontent.com/u/435787?v=3","gravatar_id":"","url":"https://api.github.com/users/siroky","html_url":"https://github.com/siroky","followers_url":"https://api.github.com/users/siroky/followers","following_url":"https://api.github.com/users/siroky/following{/other_user}","gists_url":"https://api.github.com/users/siroky/gists{/gist_id}","starred_url":"https://api.github.com/users/siroky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siroky/subscriptions","organizations_url":"https://api.github.com/users/siroky/orgs","repos_url":"https://api.github.com/users/siroky/repos","events_url":"https://api.github.com/users/siroky/events{/privacy}","received_events_url":"https://api.github.com/users/siroky/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-01T23:21:52Z","updated_at":"2016-07-05T21:18:11Z","closed_at":"2016-07-05T21:18:11Z","body":"Hi, I've found that there's already been similar issue - #1813, however the described problem is still happening to me. Even if the deployment fails, the swap operation is performed and the version of latest successful deploy before the erroneous deploy is used. According to our logs, we're observing the following scenario:\r\n\r\n1. Production slot running V2, Staging slot running V1.\r\n2. Github deployment of V3 (erroneous) to staging slot.\r\n3. Deployment fails, swap operation is triggered.\r\n4. Production slot running V1, staging slot running V2.\r\n\r\nThis is how it looks like in Azure portal:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/435787/16536520/d03cdde6-3ff2-11e6-8d4b-d00cd7a2522d.png)\r\n\r\nCompared to successful deployment, the `Running post deployment command(s)...` and `Deployment successful.` items of the deployment details are missing.\r\n"}}
{"actor":{"display_login":"shrimpy"}}