我正在尝试从azure devops中的另一个项目中检出子模块。
steps:
- checkout: self
submodules: true
persistCredentials: true
clean: true
检出同一项目中的另一个存储库。
GOAL
在仓库B中作为子模块添加为仓库A。
但是我得到了错误:
Cloning into 'E:/build/Agent5/_work/16/s/.azuredevops'...
fatal: could not read Username for 'https://dev.azure.com': terminal prompts disabled
fatal: clone of 'https://dev.azure.com/ORGANIZATION/PROJECTA/_git/REPOSITORYA' into submodule path 'E:/build/Agent5/_work/16/s/.azuredevops' failed
我如何在Azure DevOps存储库中使用YAML实现此目的?
path = .azuredevops
url = https://dev.azure.com/ORGANIZATION/PROJECTA/_git/REPOSITORYA
应该是:
path = .azuredevops
url = https://[email protected]/ORGANIZATION/PROJECTA/_git/REPOSITORYA