tree: 5cd5da7590dab4ea1bd935542a00d251e7783bb5 [path history] [tgz]
  1. .gitignore
  2. build.sh
  3. fetch_artifact.go
  4. OWNERS
  5. README.md
README.md

Fetch Artifact

Fetch artifact is a tool for downloading artifacts from Android's continuous integration service.

Options

  • target: Required - The target you would like to download the artifact from.
  • build_id: Required - The build_id of the target to download the artifact from.
  • artifact: Required - The artifact to download.
  • output: Optional - If you would like the contents of the file to be written to a specific file
  • -: Optional - If you would like the contents of the file to be written to stdout (must be the last arg)

Example useage

fetch_artifact -target=aosp_arm64-userdebug -build_id=7000390 -artifact=COPIED

Streaming contents to stdout

fetch_artifact -target=aosp_arm64-userdebug -build_id=7000390 -artifact=COPIED -

Development

Building

OUT_DIR=out ./build