【发布时间】:2020-09-25 14:58:58
【问题描述】:
我尝试使用 Azure DevOps 设置 git。 我正在关注这个过程 https://docs.microsoft.com/en-us/learn/modules/implement-ci-cd-azure-devops/3-create-ci-cd-process
正如此链接中提到的,我使用 Git Preferences 中的格式,在链接字段中的 https://dev.azure.com/<myOrg>/<myProject>/_git/<myRepo> 下,将 Azure DevOps 和 Azure Databricks 链接到同一个 Azure AD 租户。用我为 Azure DevOps 创建的名称替换了 <myProject> 和 <myrepo>。存储库也被初始化。
但是,即使 URL 中没有任何
Error while syncing Git history: Unexpected character
('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')? at [Source: ????<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">???? ?? ????<html lang="en-US">??<head><title>?? ?? Azure DevOps Services | Sign In?? ??</title><meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8" />?? <link rel="SHORTCUT ICON" href="/favicon.ico"/>???? <link data-bundlelength="508967" data-bundlename="commoncss" data-highcontrast="/_static/tfs/M174_20200824.6/_cssbundles/HighContrast/vss-bundle-commoncss-vbprQZmxiRGQT6OOu7QI7gB_rewyS40Ce_ulm1Fh3rQQ=" data-includedstyles="jQueryUI-Modified;Core;Splitter;PivotView" href="/_static/tfs/M174_20200824.6/_cssbundles/Default/vss-bundle-commoncss-v18eOGnLpZpVm7mtRF63HJdB9wzrq2LZpAxko9qNRfdY=" rel="stylesheet" />??<link data-bundlelength="116298" data-bundlename="viewcss" data-highcontrast="/_static/tfs/M174_2
【问题讨论】:
-
错误消息显示登录页面。看起来 Databricks 没有传递凭据。尝试生成具有读取存储库和使用权限的个人访问令牌:
https://<myorg>:<personalaccesstoken>@dev.azure.com/<myOrg>/<myProject>/_git/<myRepo>。 -
您的 Azure DevOps 帐户是否由与您的 Azure 订阅相同的 Azure Active Directory 支持?在那个原因身份验证应该自动流动。它不是,对待只是另一个远程仓库。
标签: azure-devops azure-databricks