Search code examples
buildazure-devopsbuild-automation

How do I view the contents of my build artifact folder in Azure Dev Ops?


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.

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


Solution

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

    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.

    enter image description here

    The Source Folder field of Copy files tasks for example:

    enter image description here

    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.

    enter image description here