Azure DevOps 管道使用 between/across 个组织
Azure DevOps pipeline usage between/across Organizations
我正在处理一项任务(尖峰),该任务是关于调查管道(存在于)organization-1 到另一个 organization-2 的使用情况。
到目前为止,我在 Microsoft 文档中没有发现任何关于 pipelines/projects/repos 跨组织使用的信息
只有我在 MS 文档 (Project QnA) 中找到的信息表明您可以 move/transfer 将数据转移到另一个组织,但不会丢失它或使用第三方工具复制数据.
我在此 SO link (Azure DevOps Repos synchronization between Organization) 中找到的信息有些相同。
我想知道以上两种解决方案是否是跨组织使用管道的几种可能方式? Microsoft 是否为其提供任何“开箱即用”的解决方案?
有没有其他人tried/faced有同样的情况?如果是这样,你是如何解决这个问题的?或者您是否为此联系了 Azure 支持?
注意: 我还在 DevOps 中创建了两个不同的组织,并探索了管道或项目的方法(尤其是使用服务连接)在另一个组织中可用,但是,我找不到任何解决方案。
在 Pipeline 中,如果您想在与您的管道不同的组织中使用 Azure Repos Git 存储库,您需要创建 Azure Repos/Team Foundation Server 服务连接,并在中使用 repository resource
您的管道:
resources:
repositories:
- repository: MyAzureReposGitRepository # In a different organization
endpoint: MyAzureReposGitServiceConnection
type: git
name: OtherProject/MyAzureReposGitRepo
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: MyAzureReposGitRepository
- script: dir $(Build.SourcesDirectory)
更多详细信息,请查看此处的文档:
我正在处理一项任务(尖峰),该任务是关于调查管道(存在于)organization-1 到另一个 organization-2 的使用情况。
到目前为止,我在 Microsoft 文档中没有发现任何关于 pipelines/projects/repos 跨组织使用的信息
只有我在 MS 文档 (Project QnA) 中找到的信息表明您可以 move/transfer 将数据转移到另一个组织,但不会丢失它或使用第三方工具复制数据.
我在此 SO link (Azure DevOps Repos synchronization between Organization) 中找到的信息有些相同。
我想知道以上两种解决方案是否是跨组织使用管道的几种可能方式? Microsoft 是否为其提供任何“开箱即用”的解决方案?
有没有其他人tried/faced有同样的情况?如果是这样,你是如何解决这个问题的?或者您是否为此联系了 Azure 支持?
注意: 我还在 DevOps 中创建了两个不同的组织,并探索了管道或项目的方法(尤其是使用服务连接)在另一个组织中可用,但是,我找不到任何解决方案。
在 Pipeline 中,如果您想在与您的管道不同的组织中使用 Azure Repos Git 存储库,您需要创建 Azure Repos/Team Foundation Server 服务连接,并在中使用 repository resource
您的管道:
resources:
repositories:
- repository: MyAzureReposGitRepository # In a different organization
endpoint: MyAzureReposGitServiceConnection
type: git
name: OtherProject/MyAzureReposGitRepo
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: MyAzureReposGitRepository
- script: dir $(Build.SourcesDirectory)
更多详细信息,请查看此处的文档: