我正在尝试在我的流水线中检出不同的存储库。
这些将是完整的URL,因此两个存储库都位于同一个Azure DevOps中:
据我了解,这应该是很简单的。我可以完全访问这两个仓库。然而,我还是遇到了以下问题:
我不确定Azure Pipelines是否支持此功能。但如果支持,那么我做错了什么?我们的DevOps人员建议使用PAT尝试,但是如何在checkout中使用PAT呢?我没有找到相关文献。
我还有哪些其他选项?
谢谢!
这些将是完整的URL,因此两个存储库都位于同一个Azure DevOps中:
https://dev.azure.com/company/Services/_git/mylocal
https://dev.azure.com/company/OtherServices/_git/another
我正在尝试在位于Services/mylocal@develop的YAML文件中执行此操作:steps:
- checkout: self
- checkout: git://OtherServices/another@develop
据我了解,这应该是很简单的。我可以完全访问这两个仓库。然而,我还是遇到了以下问题:
remote: TF401019: The Git repository with name or identifier another does not exist or you do not have permissions for the operation you are attempting.
fatal: repository 'https://dev.azure.com/company/OtherServices/_git/another' not found
我不确定Azure Pipelines是否支持此功能。但如果支持,那么我做错了什么?我们的DevOps人员建议使用PAT尝试,但是如何在checkout中使用PAT呢?我没有找到相关文献。
我还有哪些其他选项?
谢谢!