我正在尝试从Azure DevOps中的另一个项目中检出子模块。
steps:
- checkout: self
submodules: true
persistCredentials: true
clean: true
在同一项目中检出另一个存储库是可行的。
目标
将存储库A作为子模块添加到存储库B中。
然而,我遇到了错误:
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 Repositories中使用YAML实现这个目标?