Azure external GIT deployment wont ask for credentials

烈酒焚心 提交于 2019-12-07 07:03:26

问题


I just create a website in Azure but i have problems while setting up the GIT deployment. I selected the "Set up deployment from source control" in the menu and picked type "External repository". At the moment i have all my repos at "codebase". So i selected an external GIT repo. The problem is that the creation wont ask for an username and/or password. Due this reason i have errors on the clone.

DEPLOYMENT FAILED: woensdag 18 december 2013 14:22 
Fetch from https://username.codebasehq.com/projectname/projectname.git
ID: temp-1db5d AUTHOR: N/A
DEPLOYED BY: username.codebasehq.com

And the Azure deployment log:

remote: Authentication Required
fatal: Authentication failed for 'https://username.codebasehq.com/projectname/projectname.git/'

D:\Program Files (x86)\Git\bin\git.exe fetch external --progress

回答1:


Note that even if it worked, External Repository would not cause automatic deployments when you push changes to codebase, and you need to click a Sync button in the Azure portal.

Kudu (the git engine in Azure) has some basic Codebase support (here), but no support in the Azure portal. It is possible to manually set it up, but there are a number of steps involved (some related info here). Do note that this is not officially supported in Azure, and you may be the first to try it :)



来源:https://stackoverflow.com/questions/20659609/azure-external-git-deployment-wont-ask-for-credentials

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