简体   繁体   English

在 azure DevOps 中将构建从一个管道复制到另一管道

[英]Copy Builds from one pipeline to other pipeline in azure DevOps

We have two Team projects.我们有两个团队项目。 Project A and Project B. We have a situation where we need to copy pipelines and its builds from one project to other project.so we will be able to export and import the pipeline but unable to copy individual builds.项目 A 和项目 B。我们需要将管道及其构建从一个项目复制到另一个项目。因此我们将能够导出和导入管道但无法复制单个构建。

is it really possible to copy/migrate all individual builds from old pipeline to new pipeline?真的可以将所有单独的构建从旧管道复制/迁移到新管道吗?

if yes, what could be the process?如果是,可能是什么过程?

We can follow the below steps to clone the pipeline by customizing it according to our requirements:我们可以按照以下步骤通过根据我们的要求自定义管道来克隆管道:

  1. Edit the pipeline.编辑管道。
  2. Copy the YAML format and can be used for new pipeline.复制 YAML 格式,可用于新管道。
  3. Customize the new pipeline accordingly.相应地自定义新管道。

Refer to this MS Doc to understand about customizing a pipeline.请参阅此MS Doc以了解有关自定义管道的信息。 And doc for clone pipeline以及克隆管道的文档

I am afraid that you could not copy the pipelines with all individual builds.恐怕您无法使用所有单独的构建复制管道。

Azure DevOps now only supports to copy pipelines from one project to another, you can follow the steps in this doc: Clone or import a pipeline Azure DevOps 现在只支持将管道从一个项目复制到另一个项目,您可以按照本文档中的步骤操作: 克隆或导入管道

I can fully understand your requirement.我完全可以理解您的要求。 I suggest that you can create a suggestion ticket in the this site .我建议你可以在这个网站上创建一个建议票。

Thanks for your understanding.感谢您的理解。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 Azure DevOps 管道将多个发布或构建导出到桌面? - How to export multiple Release or Builds from Azure DevOps Pipeline to desktop? Azure Devops 从其他管道的多个阶段触发管道 - Azure Devops Trigger a Pipeline from Multiple Stages of Other Pipeline 如何从 Azure DevOps 中的另一个管道触发一个管道阶段? - How to trigger one pipeline stage from another pipeline in Azure DevOps? 如何从 Azure Devops 中的另一个管道有条件地运行一个管道? - How to run one pipeline conditionally from another pipeline in Azure Devops? 从另一个管道触发 Azure Devops 管道 - Triggering an Azure Devops pipeline from another pipeline 从另一个管道触发 Azure DevOps 管道 - Trigger Azure DevOps pipeline from another pipeline Azure DevOps 管道无法复制到 Azure 存储 - Azure DevOps pipeline cannot copy to Azure storage 如何在 Azure Devops 中相同管道的两个版本之间共享文件? - How to share a file between two builds of same pipeline in Azure Devops? 如何将多个 json 文件导入/上传到 Azure Devops Pipeline Builds? - How to import/upload multiple json files to Azure Devops Pipeline Builds? 如何将 dll 和其他二进制文件从 asp.net 网站的 bin 文件夹复制到 azure devops 管道 - How do I copy my dll and other binaries from bin folder in asp.net website to azure devops pipeline
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM