发布构建工件 - Azure管道/ TFS位置?

发布构建工件 -  Azure管道/ TFS位置?

问题描述:

在DevOps构建管道中,我正在考虑使用"工件发布位置"发布构建工件。下拉选项"Azure Pipelines / TFS"。我的问题是,实际存储的工件在哪里?是在我自己的订阅
还是共享位置?我可以在创建后管理它(例如删除/清除工件)吗?

Within the DevOps build pipelines, I'm looking at publishing build artifacts using the "Artifact publish location" drop down option "Azure Pipelines/TFS". My question is, where is the artifact actually stored? Is it within my own subscription or a shared location? Can I manage it (e.g. delete/clear down the artifacts) once created?

"发布工件"任务会将构建任务的输出发布到路径,通常在主机构建计算机上设置为

The "Publish Artifact" task will publish the output of the build tasks to a path, normally set to 


(build.artifactstagingdirectory)。如果您使用的是自托管构建服务器,则可以检查日志以查找将工件复制到哪个
目录。如果您正在使用托管构建服务器,您可以通过构建结果中的Artifacts按钮查看这些文件(如下所示)。
(build.artifactstagingdirectory) on the host build machine. If you're using a self hosted build server, you can check the logs to find which directory the artifacts are copied to. If you're using a hosted build server, you'll be ale to see these files via the Artifacts button in the build result (as shown below).