Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find artifact in Azure DevOps Custom agent pool

I am using a custom agent pool in Azure DevOps. I have made a build and published the artifact but I want to update a file in artifact without creating a new build. how we can do that in Publish Artifacts task it showing that upload /home/ubuntu/myagent/_work/4/a to file container: #/9464/Artifact-Name.

I am logged in to agent pool server and checked all the directories but I couldn't find the file container location. Can any buddy help me to find the Artifact location in agent pool.

Thanks in advance.

like image 888
Rajeev Srivastava Avatar asked Nov 18 '25 10:11

Rajeev Srivastava


1 Answers

Based on your drop location, you probably can't. The only way I imagine this would be possible is if you were publishing to a share location instead.

When you publish artifacts (that would be visible from the build summary), those are stored on the Azure DevOps database content tables and are immutable. As Jane Ma mentioned in a comment out about the local files:

The directory referenced by $(Build.ArtifactStagingDirectory) is cleaned up after each build. [...] you can't edit published artifacts. You can get them in agent pool's local file, but all local operations are not synced to the Azure DevOps. If you want to do follow-up work on this artifact, you need to run a new build to update it.

like image 50
Matt Avatar answered Nov 20 '25 23:11

Matt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!