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

Conversation

karensawrey
Copy link
Contributor

A clarification that emerged in a support ticket discussion. Having this explicitly in the docs might help someone down the line.

A clarification that emerged in a support ticket discussion. Having this explicitly in the docs might help someone down the line.
@github-actions github-actions bot added the pipelines Pull requests that update content related to Pipelines label Sep 15, 2023
@buildkite-docs-bot
Copy link
Contributor

Preview URL: https://2477--bk-docs-preview.netlify.app

@@ -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)?

Copy link
Contributor

@MelissaKaulfuss MelissaKaulfuss left a comment

Choose a reason for hiding this comment

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

Feel like line 7 can be a little clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipelines Pull requests that update content related to Pipelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants