-
Notifications
You must be signed in to change notification settings - Fork 295
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
Glob pattern dist/**/* doesn't discover top level (within dist/) files #2305
Comments
hey there! this is somewhat of a running issue - there's a bunch of edge cases and gotchas with artifact uploading and downloading. we have some work planned to work on making this better - we'll keep this issue open until we do, but in the meantime, it looks like your workaround is sufficient, if not quite desirable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When using
buildkite-agent artifact download "dist/**/*" .
to download all artifacts in a compileddist
folder that has successfully been uploaded usingartifact_paths: "dist/**/*"
in thepipeline.yml
file, the files downloaded do not contain files such asdist/express.js
ordist/worker.js
.This seems unexpected for the given glob pattern.
NOTE: The above pattern does download all files that are contained in subdirectories, for example, dist/apps/express.js and dist/apps/worker.js are successfully downloaded with the above command.
Describe the solution you'd like
A solution that allows me to download files described above with the glob pattern
dist/**/*
. Otherwise, documentation to explain why this pattern does not work forbuildkite-agent
Describe alternatives you've considered
I have found a workaround by using
buildkite-agent artifact download "dist/**" .
, however, unsure if this was intended behaviour or not.Additional context
N/A
The text was updated successfully, but these errors were encountered: