Feature

New environment variables for group steps

Jobs that belong to group steps will now have access to information about their group with three new environment variables:

  • BUILDKITE_GROUP_ID
  • BUILDKITE_GROUP_KEY
  • BUILDKITE_GROUP_LABEL

You could use these variables to upload steps to the same group, or alter the behaviour of jobs based on their group. These environment variables will be absent for jobs that do not belong to group steps.

Learn more about environment variables

David