Skip to content
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
Update cli_step.md
Customers have recently wanted to be be able update each job label individually and it is not possible. The Buildkite-agent does the label update on a step level
  • Loading branch information
stephanieatte authored Jun 19, 2023
commit d22b92ccb9b4ca51fedd71894c41347b9b4df80a
1 change: 1 addition & 0 deletions pages/agent/v3/cli_step.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Use this command in your build scripts to update an attribute of a step.

<%= render 'agent/v3/help/step_update' %>

label update works on a step level and not on the job level, it would not be possible to update each job in a step
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you explain a bit more about when someone might find themselves in this situation? For example, a correct version of something like:

Labels are applied to steps, not jobs, so you can't update a job label. When a step contains multiple jobs, all the jobs use the same label.

I also wonder if this might fit in better above the example where it's already talking about step labels.

Copy link
Contributor

Choose a reason for hiding this comment

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

If there's a ticket in Helpscout or a post in the forum, it might help me understand the details a bit better 😊

## Getting a step

Use this command in your build scripts to get the value of a particular attribute from a step.
Expand Down