gpt4 book ai didi

azure-devops - Build Artifact 和 Pipeline Artifact 任务有什么区别?

转载 作者:行者123 更新时间:2023-12-04 07:15:26 36 4
gpt4 key购买 nike

在 Azure DevOps 中,我们有 Download/Publish构建工件任务和 Download/Publish管道工件任务。

构建工件任务和管道工件任务之间有什么区别,我们什么时候会选择一个?

最佳答案

Azure DevOps GitHub 中有一个关于它的问题微软回答:

Hey everyone - I'm from the Azure Artifacts team and we built the Pipeline Artifacts feature that you've discovered in Azure Pipelines.

I'll address the most important comment around documentation - we've got a whole new page coming out around Artifacts in Azure Pipelines which lists out each artifact type that we support and what they are for along with links to specific documentation. We think that should answer most of your questions.

Because that is still being edited before we publish it I thought I would give you the 30,000 foot view on the difference between Pipeline Artifacts and Build Artifacts and also mention how Pipeline Artifacts relate to Universal Packages.

Build Artifacts (published via the Publish Build Artifacts task) have been in Azure DevOps for a long time and are the built-in artifact storage mechanism for Azure Pipelines. Most builds that store non-package artifacts today would likely use this task. The task can push the content up to the server/cloud but can also copy the files to a local file share.

Pipeline Artifacts (published using the Publish Pipeline Artifact task are intended as the replacement for Build Artifacts. They are in preview right now and there are a few more things we need to do to reach parity. The benefit of Pipeline Artifacts is that they can dramatically reduce the time it takes to upload and download large artifacts. We do this be first checking whether the content that is being uploaded exists in the service. We do this not just at the per-file level but also at the sub-file level (in up to 128K chunks). It can lead to really dramatic performance improvements.

Universal Packages - also in preview use the same storage/transfer technology as Pipeline Artifacts. You would use Universal Packages when you want to create an artifact with a life time independent of the pipeline that created it. You can download Pipeline Artifacts after a pipeline has completed via the artifacts UX - but if you want something that really exists independent of pipeline you would go for Universal Packages. There should be no performance difference between the two.

Hopefully this helps. Feel free to ask any more questions and I'll follow-up with answers.

关于azure-devops - Build Artifact 和 Pipeline Artifact 任务有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55816243/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com