如何在Azure Dev Ops中查看我的构建工件文件夹的内容? [英] How do I view the contents of my build artifact folder in Azure Dev Ops?

查看:87
本文介绍了如何在Azure Dev Ops中查看我的构建工件文件夹的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试修改位于构建工件文件夹内某处的配置文件dataSettings.json.找出正确的访问路径就像在黑暗中工作一样.使用"**/dataSettings.json"因为我不知道工件的文件夹结构,甚至不存在dataSettings.json,所以路径在我的任务中不起作用.

I am trying to modify my configuration file, dataSettings.json, located somewhere inside the build artifacts folder. Figuring out the correct access path to it is like working in the dark. Using "**/dataSettings.json" as a path doesn't work in my task since I don't know the artifact's folder structure, nor wether dataSettings.json even exists.

是否可以快速查看DevOps中构建构件文件夹的内容?

Is there a way to quickly view the contents of a build artifacts folder within DevOps?

推荐答案

您可以在发布管道中的许多任务中快速查看工件的内容.

You can quickly view the contents of the artifacts in many of the tasks in your release pipeline.

例如,如果您正在使用文件转换任务 Azure App Service部署任务.您可以单击包装或文件夹"字段右侧的 3dots ,以查看工件的内容和文件夹结构.

For example, If you are using File transform task or Azure App Service deploy task. You can click the 3dots at the right end of the Package or folder field to view the contents and folder structure of the artifacts.

复制文件任务源文件夹字段,例如:

如果工件是一个zip文件.您可以导航到其对应的构建管道运行,并在本地下载工件以检查其内容.您可以在构建摘要"页面上下载构建构件.

If the artifacts is a zip file. You can navigate to its correponding build pipeline runs and download the artifacts locally to check its contents. You can download the build artifacts at the Build summary page.

这篇关于如何在Azure Dev Ops中查看我的构建工件文件夹的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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