Continuous deployment with Bitbucket on Azure not working

て烟熏妆下的殇ゞ 提交于 2019-12-05 22:25:30

Yesterday we deployed to bitbucket.org a change to send the Authorization header with our POST service that may have broken our integration with Windows Azure.

I've rolled back the change so that we can investigate.

Does it work for you now?

Did you set bitbucket deployment up after pushing directly to your git repo on Azure? You'll need to FTP in and empty the deployments folder and then refresh the deployment tab on the portal. You'll then be able to link your bitbucket account again and it should just work then

This might not be the solution in all cases, but for me it's one of the hypotheses I've tested and found true:

I noticed that for private/public repos where I was admin, integration happened smoothly. It's only for repos where I had only read-write-access that I couldn't setup the deployment from version control (that is for Bitbucket and Azure Websites).

Actually, to test this hypothesis, I made a fork of a repo where I have only rw-access (in the fork, am automatically made admin), and then tried setting up deployment with this fork. It worked fine!

Note that for all the repositories I tried linking to (whether private or not, and whether the linking worked or not) I had read-write access. Though, I believe the ultimate setup should only need read-access to a repo. Am yet to isolate the actual problem...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!