【发布时间】:2020-01-25 11:52:11
【问题描述】:
关于如何将一个 Azure Devops 实例中的 Azure Pipelines 连接到另一个 Azure Devops 实例中的 Azure Repo 的任何建议。
我想我会使用“Other Git”作为代码源,但我想看看是否有人对此有任何建议。
谢谢
【问题讨论】:
标签: azure-devops azure-pipelines azure-pipelines-build-task azure-repos
关于如何将一个 Azure Devops 实例中的 Azure Pipelines 连接到另一个 Azure Devops 实例中的 Azure Repo 的任何建议。
我想我会使用“Other Git”作为代码源,但我想看看是否有人对此有任何建议。
谢谢
【问题讨论】:
标签: azure-devops azure-pipelines azure-pipelines-build-task azure-repos
如何将一个 Azure Devops 实例中的 Azure Pipelines 连接到另一个 Azure Devops 实例中的 Azure Repo
你是在正确的方式!如果要在另一个单独的 Azure Devops 实例中构建 Azure 存储库,则应使用“Other Git”作为代码源。
根据文档Pipeline options for Git repositories:
编辑使用 Git 存储库的管道时(在 Azure DevOps 或 TFS 项目、GitHub、GitHub Enterprise Server、Bitbucket Cloud 或 另一个 Git 仓库),
所以,我们可以使用最新的选项,另一个 Git 存储库。
详情:
Other Git,添加new service connection:Git repository URL 和PAT。作为测试,我可以在另一个 Azure 存储库中构建项目。
希望这会有所帮助。
【讨论】: