我在ABC组织工作,它有三个Azure DevOps项目,分别是A、B和C。所有内容都在Azure Repos下,这意味着我们没有使用GitHub。
我正在尝试从项目A和B中的repos中执行Project C的checkout。每个项目都将拥有自己的微服务,但共享平台服务将自动化需要部署到AKS的内容。
问题陈述:当我尝试在Project C中从项目A和B中checkout repos时,我会遇到以下错误。代码片段如下:
resources:
repositories:
- repository: microservice-a
type: git
name: 'InPlaceCommunications/microservice-a'
ref: master
- repository: microservice-b
type: git
name: 'Project B/microservice-b'
ref: master
然而,我得到以下错误:
remote: TF401019: The Git repository with name or identifier microservice-a does not exist or you do not have permissions for the operation you are attempting.
任何指导都将不胜感激。
我注意到我有完全的权限克隆repo,但在Pipeline中却没有发生。