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

A small addition to the meta-data page #2477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/pipelines/build_meta_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ In this guide, we'll walk through using the Buildkite agent's [meta-data command

Meta-data is intended to store data 1 kilobyte or less in size, to be used across steps. For example, you can tag a build with the software version it deploys so that you can later identify which build deployed a particular version. For anything over 1 kb use an [artifact](/docs/pipelines/artifacts) instead.

Note that meta-data exists at the build level, so setting it in a job sets it for the build (and setting the same key in multiple jobs will result in the value from the last one to set it).
Copy link
Contributor

@MelissaKaulfuss MelissaKaulfuss Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I ask what this means:

"Setting the same key in multiple jobs will result in the value from the last one to set it."

Does this mean, if there's a key in the meta-data at the build level, and the value is being set inside multiple jobs (in that one build), that the final key/value pair that's stored in the metadata at the build level will be the one that was last set (in the last job)?



## Setting data

Expand Down