Azure外部GIT部署不会要求提供凭据 [英] Azure external GIT deployment wont ask for credentials

查看:40
本文介绍了Azure外部GIT部署不会要求提供凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在Azure中创建一个网站,但是在设置GIT部署时遇到了问题.我在菜单中选择从源代码管理设置部署",然后选择外部存储库"类型.目前,我的所有存储库都位于代码库"中.因此,我选择了一个外部GIT存储库.问题是创建将不会要求用户名和/或密码.由于这个原因,我在克隆上有错误.

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

Azure部署日志:

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

推荐答案

请注意,即使可行,外部存储库在将更改推送到代码库时也不会导致自动部署,并且需要在Azure门户中单击同步"按钮

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(Azure中的git引擎)具有一些基本的代码库支持(这里).请注意,Azure并不正式支持此功能,您可能是第一个尝试使用它的人:)

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 :)

这篇关于Azure外部GIT部署不会要求提供凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆