Skip to content
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

[BUG/DOC] Agent Download Bug or Confusing Docs #2099

Open
chrisjenx opened this issue May 19, 2023 · 2 comments
Open

[BUG/DOC] Agent Download Bug or Confusing Docs #2099

chrisjenx opened this issue May 19, 2023 · 2 comments

Comments

@chrisjenx
Copy link

We were running this agent command:

buildkite-agent artifact download --build "0188348b-27ee-42dd-81c4-e43bb25f6df0" shared/shopper-delivering/impl/build/outputs/apk/androidTest/debug/impl-debug-androidTest.apk tmp/

I would expect this to put the file including subfolders under tmp/shared.shopper...etc but it doesn't.
I'm not actually sure where it goes, even after ls -l tmp/ it's empty.

We had to resort too:

- buildkite-agent artifact download --build "0188348b-27ee-42dd-81c4-e43bb25f6df0" shared/shopper-delivering/impl/build/outputs/apk/androidTest/debug/impl-debug-androidTest.apk .
- mv shared/shopper-delivering/impl/build/outputs/apk/androidTest/debug/impl-debug-androidTest.apk tmp/impl-debug-androidTest.apk

Not sure if this is a bug or bad docs for expected behavior ?

@triarius
Copy link
Contributor

Hi @chrisjenx, this does look a bit unusual. You might get more detail by passing --debug flag to your command

buildkite-agent artifact download --debug --build "0188348b-27ee-42dd-81c4-e43bb25f6df0" shared/shopper-delivering/impl/build/outputs/apk/androidTest/debug/impl-debug-androidTest.apk tmp/

We agree this is could be something to fix, but as there is a workaround, it's not our highest priority at the moment.

You're also welcome to contact support@buildkite.com.

@chrisjenx
Copy link
Author

chrisjenx commented May 24, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants