Query meta-data by build_id

buildkite-agent meta-data get currently has a --job argument , which requires a JOB_ID. Would it be possible to allow it also be queried by BUILD_ID (similar to the --build argument in the buildkite-agent artifact download?

Hey @simonbyrne!

This sounds like a fair suggestion. It might be worth opening it as an issue on the agent repo on GitHub to gain some visibility around it, especially if others would like that flag to be added.

Depending on what you’re hoping to do with the meta-data, it is available in REST API calls when you get a build.



Thanks, I have opened an issue here: Query meta-data by build_id · Issue #1776 · buildkite/agent · GitHub