“下载管道工件"与“下载构建工件" [英] "Download pipeline artifact" vs. "Download build artifacts"

查看:63
本文介绍了“下载管道工件"与“下载构建工件"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下载管道工件"和下载构建工件"之间有什么区别?应该使用哪个,何时使用?

What is the difference between "Download pipeline artifact" and "Download build artifacts"? Which one should be used and when?

推荐答案

管道伪像: 提供了一种方法,可以在管道中的阶段之间或不同管道之间共享文件.它们通常是构建过程的输出,需要由另一个作业使用或部署.工件与它们产生的运行相关联,并且在运行完成后仍然可用.

Pipeline artifact: provide a way to share files between stages in a pipeline or between different pipelines. They are typically the output of a build process that need to be consumed by another job or be deployed. Artifacts are associated with the run they were produced in and remain available after the run has completed.

在构建或发布管道中使用下载管道工件,以从该管道的早期阶段或另一个管道下载管道工件.

Using Download Pipeline Artifacts in a build or release pipeline to download pipeline artifacts from earlier stages in this pipeline, or from another pipeline.

构建工件:工件是您要生成的文件.工件可以是您的团队测试或部署您的应用程序所需的任何东西.

Build artifact :Artifacts are the files that you want your build to produce. Artifacts can be anything that your team needs to test or deploy your app.

使用在构建或发布管道中下载Build Artifacts来下载构建工件.

Using Download Build Artifacts in a build or release pipeline to download build artifacts.

管道构件是构建构件的下一代,并且是使用构件的推荐方式.可以继续使用 Download Build Artifacts 下载使用发布构建构件"任务发布的构件,也可以使用最新的下载管道构件"任务进行下载.

Pipeline artifacts are the next generation of build artifacts and are the recommended way to work with artifacts. Artifacts published using the Publish Build Artifacts task can continue to be downloaded using Download Build Artifacts, but can also be downloaded using the latest Download Pipeline Artifact task.

注意:建议从构建工件升级到管道工件,以加快输出存储速度.

Note: It is recommended upgrading from build artifacts to pipeline artifacts for faster output storage speeds.

以下是您可以参考的一些文档:

Here are some documents you can refer to:

  • Pipeline artifacts in Azure Pipelines - Download Pipeline Artifacts task
  • Build Artifacts in Azure Pipelines - Download Build Artifacts task

这篇关于“下载管道工件"与“下载构建工件"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆