Continuous deployment with Bitbucket on Azure not working

a 夏天 提交于 2019-12-10 09:41:57

问题


I set up git continuous deployment with bitbucket on my Azure website according to this blogpost

I go through all steps without any problems but when I git push to bitbucket no Azure deployment happens...

If I push to my azure git url, deployment works as usual.

Anybody else that have had this problem?

Thanks!


回答1:


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?




回答2:


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




回答3:


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...



来源:https://stackoverflow.com/questions/14069405/continuous-deployment-with-bitbucket-on-azure-not-working

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