RepositoryMapping interface

将 AzDO 仓库映射到其 GitHub 对应仓库,实现跨仓库流水线重布。 当流水线引用来自已迁移(或将迁移到)GitHub 的其他 AzDO 仓库的模板或资源时,会被使用。

属性

sourceRepositoryId

源仓库的 AzDO 仓库 GUID。

targetRepository

GitHub 目标仓库的“owner/repo”格式。

属性详细信息

sourceRepositoryId

源仓库的 AzDO 仓库 GUID。

sourceRepositoryId: string

属性值

string

targetRepository

GitHub 目标仓库的“owner/repo”格式。

targetRepository: string

属性值

string