buildkite / buildkite/agent

[BUG/DOC] Agent Download Bug or Confusing Docs

Open
#2,099 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.