0

I am trying to automate my release pipeline to swap slots on my app service. I am swapping my staging slot with the production one. Note: I also have a task before swap slots that restarts the staging slot to take in the new image. The task seems to finish with two warnings.

[warning]Error: Failed to update deployment history. Ip Forbidden (CODE: 403)
[warning]Error: Failed to update deployment history. Error: getaddrinfo ENOTFOUND ourappservice.scm.azurewebsites.net ourappservice.scm.azurewebsites.net:443

But the image never updates, its the old container image. The only work around I found is to manually go to Azure Deployment Center, and swap the slots manually. The review for slot swapping shows "no change", but right after I select "swap", the image updates, even after waiting for the swap to finish for a few min.

Why is this happening? I cant seem to figure out why swapping slots doesn't work using a Azure App Service Mange task. Are the warnings really warnings? If not why did the task show succeeded?

Dave
  • 727
  • 1
  • 9
  • 20

0 Answers0