Azure – deploying from Bitbucket

I have a website hosted on Windows Azure, and I set it up quite a few months ago to automatically deploy when I push to a specific branch on Bitbucket – as per these instructions:

  • How can I deploy a node.js app to azure via git when the app is in a subfolder?
  • Git requests to Azure Bot Service App in Azure Portal are failing, how do I troubleshoot?
  • Azure deploy repository from an organization
  • unable to create website and publish from team foundation service with git repository
  • Continuous deployment to Dev/TestProd on Azure
  • Revert to previous commit Windows Azure
  • This was working fine last time I made any changes to the site (which was Nov 24th 2012). I’ve just pushed another change, and it hasn’t been deployed. Going back through the settings again, it looks like the functionality has been removed from the Azure dashboard. I no longer see the option “Set up Git publishing” in the quick glance section.

    I’ve Googled to see if I can find any reference to this functionality being removed, but I’ve had no luck. Does anyone know why suddenly I can no longer deploy from my Bitbucket account, or no longer have the functionality at all in the Azure control panel?

  • How can I see the date multiple files were created on git?
  • Can't login to Bitbucket on 'Github for Windows'
  • What exactly mean “:” when using git show?
  • 'git diff' inconsistent between CLI and other clients
  • How to configure my code editor in git?
  • creating local branch from remote develop branch
  • One Solution collect form web for “Azure – deploying from Bitbucket”

    You’ve probably lost the post commit hook between Azure and Bitbucket. I found this happening on occasion for me as well. If you have a look on the Services page within your Bitbucket repository settings there should be a POST hook to Azure. I would remove the hook if it’s there and then clear out the deployments folder within your Azure site to reset it.

    If you FTP into your site and clear out the deployments folder (there’ll be a bunch of folders named as guids that represent the deployments that have happened) and then go back and refresh the dashboard page you should see the option to set up Git publishing appear again.

    Git Baby is a git and github fan, let's start git clone.