-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't download pipeline artifact files use matching patterns starting with artifact name #3416
Comments
Hi @beatcracker 'patterns' input for Download Pipeline Artifacts represents patterns for paths relevant to the published artifact folder - so if you specified 'test' folder as a targetPath for Publish Pipeline Artifacts task - 'test' folder content will be published, and you need to specify path mask relatively to root of this folder ('.xyz' instead of 'test/.xyz'). |
@anatolybolshakov Yes, current behavior make sense from the practical standpoint, but it doesn't match what documentation says, i.e., |
@beatcracker oh yes, I see - let us prepare documentation changes for this. |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
Docs are not updated yet, so not stale. |
The incorrect docs just caught me out as well. I have a parallel job producing artifacts called It would be helpful if either the docs were updated or, even better, if the functionality was implemented as documented. |
In fact, I see a totally different behaviour: the artifact name can be matched via For me this is on Linux agents with agent version 2.185.1, and DownloadPipelineArtifacts version is 2.198.0 @beatcracker @jamesthurley mind re-checking if your examples are working now (maybe in the meantime something had changed on server side)? |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
@anatolybolshakov This is still an issue, and must be reopened. The documentation is incorrect. And the question stays - besides using multiple download steps, is there a way to download multiple artifacts (but not all)? |
I'm raising this issue here since pipeline artifacts publish/download tasks are agent plugins.
Agent Version and Platform
Agent
2.186.1
onubuntu-20.04
Azure DevOps Type and Version
dev.azure.com
What's not working?
Pipeline artifact download task with file matching patterns patterns doesn't work as expected. When downloading multiple artifacts, you can't filter files by artifact name.
According to docs:
So one might expect that for existing artifact
WebApp
, the patternWebApp/**
will download all files. Unfortunately this doesn't happen and such patterns result in 0 files being downloaded.Related Stack Overflow question: https://stackoverflow.com/questions/67567408
Example
This template will not download any files in the
Download
job.The text was updated successfully, but these errors were encountered: