buildkite_sdk.environment

  1from enum import Enum
  2
  3
  4class Environment(Enum):
  5    # Always `true`
  6    BUILDKITE = "BUILDKITE"
  7    # The agent session token for the job. The variable is read by the agent `artifact` and `meta-data` commands.
  8    BUILDKITE_AGENT_ACCESS_TOKEN = "BUILDKITE_AGENT_ACCESS_TOKEN"
  9    # The value of the `debug` [agent configuration option](/docs/agent/v3/configuration).
 10    BUILDKITE_AGENT_DEBUG = "BUILDKITE_AGENT_DEBUG"
 11    # The value of the `disconnect-after-job` [agent configuration option](/docs/agent/v3/configuration).
 12    BUILDKITE_AGENT_DISCONNECT_AFTER_JOB = "BUILDKITE_AGENT_DISCONNECT_AFTER_JOB"
 13    # The value of the `disconnect-after-idle-timeout` [agent configuration option](/docs/agent/v3/configuration).
 14    BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT = (
 15        "BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT"
 16    )
 17    # The value of the `endpoint` [agent configuration option](/docs/agent/v3/configuration). This is set as an environment variable by the bootstrap and then read by most of the `buildkite-agent` commands.
 18    BUILDKITE_AGENT_ENDPOINT = "BUILDKITE_AGENT_ENDPOINT"
 19    # A list of the [experimental agent features](/docs/agent/v3#experimental-features) that are currently enabled. The value can be set using the `--experiment` flag on the [`buildkite-agent start` command](/docs/agent/v3/cli-start#starting-an-agent) or in your [agent configuration file](/docs/agent/v3/configuration).
 20    BUILDKITE_AGENT_EXPERIMENT = "BUILDKITE_AGENT_EXPERIMENT"
 21    # The value of the `health-check-addr` [agent configuration option](/docs/agent/v3/configuration).
 22    BUILDKITE_AGENT_HEALTH_CHECK_ADDR = "BUILDKITE_AGENT_HEALTH_CHECK_ADDR"
 23    # The UUID of the agent.
 24    BUILDKITE_AGENT_ID = "BUILDKITE_AGENT_ID"
 25    # The value of each [agent tag](/docs/agent/v3/cli-start#setting-tags). The tag name is appended to the end of the variable name. They can be set using the `--tags` flag on the `buildkite-agent start` command, or in the [agent configuration file](/docs/agent/v3/configuration). The [Queue tag](/docs/agent/v3/queues) is specifically used for isolating jobs and agents, and appears as the `BUILDKITE_AGENT_META_DATA_QUEUE` environment variable.
 26    BUILDKITE_AGENT_META_DATA_ = "BUILDKITE_AGENT_META_DATA_"
 27    # The name of the agent that ran the job.
 28    BUILDKITE_AGENT_NAME = "BUILDKITE_AGENT_NAME"
 29    # The process ID of the agent.
 30    BUILDKITE_AGENT_PID = "BUILDKITE_AGENT_PID"
 31    # The artifact paths to upload after the job, if any have been specified. The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 32    BUILDKITE_ARTIFACT_PATHS = "BUILDKITE_ARTIFACT_PATHS"
 33    # The path where artifacts will be uploaded. This variable is read by the `buildkite-agent artifact upload` command, and during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). It can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
 34    BUILDKITE_ARTIFACT_UPLOAD_DESTINATION = "BUILDKITE_ARTIFACT_UPLOAD_DESTINATION"
 35    # The path to the directory containing the `buildkite-agent` binary.
 36    BUILDKITE_BIN_PATH = "BUILDKITE_BIN_PATH"
 37    # The branch being built. Note that for manually triggered builds, this branch is not guaranteed to contain the commit specified by `BUILDKITE_COMMIT`.
 38    BUILDKITE_BRANCH = "BUILDKITE_BRANCH"
 39    # The path where the agent has checked out your code for this build. This variable is read by the bootstrap when the agent is started, and can only be set by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 40    BUILDKITE_BUILD_CHECKOUT_PATH = "BUILDKITE_BUILD_CHECKOUT_PATH"
 41    # The name of the user who authored the commit being built. May be **[unverified](#unverified-commits)**. This value can be blank in some situations, including builds manually triggered using API or Buildkite web interface.
 42    BUILDKITE_BUILD_AUTHOR = "BUILDKITE_BUILD_AUTHOR"
 43    # The notification email of the user who authored the commit being built. May be **[unverified](#unverified-commits)**. This value can be blank in some situations, including builds manually triggered using API or Buildkite web interface.
 44    BUILDKITE_BUILD_AUTHOR_EMAIL = "BUILDKITE_BUILD_AUTHOR_EMAIL"
 45    # The name of the user who created the build. The value differs depending on how the build was created:
 46    #
 47    # - **Buildkite dashboard:** Set based on who manually created the build.
 48    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 49    # - **Webhook:** Set based on which user is attached to the API Key used.
 50    BUILDKITE_BUILD_CREATOR = "BUILDKITE_BUILD_CREATOR"
 51    # The notification email of the user who created the build. The value differs depending on how the build was created:
 52    #
 53    # - **Buildkite dashboard:** Set based on who manually created the build.
 54    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 55    # - **Webhook:** Set based on which user is attached to the API Key used.
 56    BUILDKITE_BUILD_CREATOR_EMAIL = "BUILDKITE_BUILD_CREATOR_EMAIL"
 57    # A colon separated list of non-private team slugs that the build creator belongs to. The value differs depending on how the build was created:
 58    #
 59    # - **Buildkite dashboard:** Set based on who manually created the build.
 60    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 61    # - **Webhook:** Set based on which user is attached to the API Key used.
 62    BUILDKITE_BUILD_CREATOR_TEAMS = "BUILDKITE_BUILD_CREATOR_TEAMS"
 63    # The UUID of the build.
 64    BUILDKITE_BUILD_ID = "BUILDKITE_BUILD_ID"
 65    # The build number. This number increases with every build, and is guaranteed to be unique within each pipeline.
 66    BUILDKITE_BUILD_NUMBER = "BUILDKITE_BUILD_NUMBER"
 67    # The value of the `build-path` [agent configuration option](/docs/agent/v3/configuration).
 68    BUILDKITE_BUILD_PATH = "BUILDKITE_BUILD_PATH"
 69    # The url for this build on Buildkite.
 70    BUILDKITE_BUILD_URL = "BUILDKITE_BUILD_URL"
 71    # The value of the `cancel-grace-period` [agent configuration option](/docs/agent/v3/configuration) in seconds.
 72    BUILDKITE_CANCEL_GRACE_PERIOD = "BUILDKITE_CANCEL_GRACE_PERIOD"
 73    # The value of the `cancel-signal` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 74    BUILDKITE_CANCEL_SIGNAL = "BUILDKITE_CANCEL_SIGNAL"
 75    # Whether the build should perform a clean checkout. The variable is read during the default checkout phase of the bootstrap and can be overridden in `environment` or `pre-checkout` hooks.
 76    BUILDKITE_CLEAN_CHECKOUT = "BUILDKITE_CLEAN_CHECKOUT"
 77    # The UUID value of the cluster, but only if the build has an associated `cluster_queue`. Otherwise, this environment variable is not set.
 78    BUILDKITE_CLUSTER_ID = "BUILDKITE_CLUSTER_ID"
 79    # The command that will be run for the job.
 80    BUILDKITE_COMMAND = "BUILDKITE_COMMAND"
 81    # The opposite of the value of the `no-command-eval` [agent configuration option](/docs/agent/v3/configuration).
 82    BUILDKITE_COMMAND_EVAL = "BUILDKITE_COMMAND_EVAL"
 83    # The exit code from the last command run in the command hook.
 84    BUILDKITE_COMMAND_EXIT_STATUS = "BUILDKITE_COMMAND_EXIT_STATUS"
 85    # The git commit object of the build. This is usually a 40-byte hexadecimal SHA-1 hash, but can also be a symbolic name like `HEAD`.
 86    BUILDKITE_COMMIT = "BUILDKITE_COMMIT"
 87    # The path to the agent config file.
 88    BUILDKITE_CONFIG_PATH = "BUILDKITE_CONFIG_PATH"
 89    # The path to the file containing the job's environment variables.
 90    BUILDKITE_ENV_FILE = "BUILDKITE_ENV_FILE"
 91    # The value of the `git-clean-flags` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 92    BUILDKITE_GIT_CLEAN_FLAGS = "BUILDKITE_GIT_CLEAN_FLAGS"
 93    # The value of the `git-clone-flags` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 94    BUILDKITE_GIT_CLONE_FLAGS = "BUILDKITE_GIT_CLONE_FLAGS"
 95    # The opposite of the value of the `no-git-submodules` [agent configuration option](/docs/agent/v3/configuration).
 96    BUILDKITE_GIT_SUBMODULES = "BUILDKITE_GIT_SUBMODULES"
 97    # The GitHub deployment ID. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
 98    BUILDKITE_GITHUB_DEPLOYMENT_ID = "BUILDKITE_GITHUB_DEPLOYMENT_ID"
 99    # The name of the GitHub deployment environment. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
100    BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT = "BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT"
101    # The name of the GitHub deployment task. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
102    BUILDKITE_GITHUB_DEPLOYMENT_TASK = "BUILDKITE_GITHUB_DEPLOYMENT_TASK"
103    # The GitHub deployment payload data as serialized JSON. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
104    BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD = "BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD"
105    # The UUID of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
106    BUILDKITE_GROUP_ID = "BUILDKITE_GROUP_ID"
107    # The value of the `key` attribute of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
108    BUILDKITE_GROUP_KEY = "BUILDKITE_GROUP_KEY"
109    # The label/name of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
110    BUILDKITE_GROUP_LABEL = "BUILDKITE_GROUP_LABEL"
111    # The value of the `hooks-path` [agent configuration option](/docs/agent/v3/configuration).
112    BUILDKITE_HOOKS_PATH = "BUILDKITE_HOOKS_PATH"
113    # A list of environment variables that have been set in your pipeline that are protected and will be overridden, used internally to pass data from the bootstrap to the agent.
114    BUILDKITE_IGNORED_ENV = "BUILDKITE_IGNORED_ENV"
115    # The internal UUID Buildkite uses for this job.
116    BUILDKITE_JOB_ID = "BUILDKITE_JOB_ID"
117    # The path to a temporary file containing the logs for this job. Requires enabling the `enable-job-log-tmpfile` [agent configuration option](/docs/agent/v3/configuration).
118    BUILDKITE_JOB_LOG_TMPFILE = "BUILDKITE_JOB_LOG_TMPFILE"
119    # The label/name of the current job.
120    BUILDKITE_LABEL = "BUILDKITE_LABEL"
121    # The exit code of the last hook that ran, used internally by the hooks.
122    BUILDKITE_LAST_HOOK_EXIT_STATUS = "BUILDKITE_LAST_HOOK_EXIT_STATUS"
123    # The opposite of the value of the `no-local-hooks` [agent configuration option](/docs/agent/v3/configuration).
124    BUILDKITE_LOCAL_HOOKS_ENABLED = "BUILDKITE_LOCAL_HOOKS_ENABLED"
125    # The message associated with the build, usually the commit message or the message provided when the build is triggered. The value is empty when a message is not set. For example, when a user triggers a build from the Buildkite dashboard without entering a message, the variable returns an empty value.
126    BUILDKITE_MESSAGE = "BUILDKITE_MESSAGE"
127    # The UUID of the organization.
128    BUILDKITE_ORGANIZATION_ID = "BUILDKITE_ORGANIZATION_ID"
129    # The organization name on Buildkite as used in URLs.
130    BUILDKITE_ORGANIZATION_SLUG = "BUILDKITE_ORGANIZATION_SLUG"
131    # The index of each parallel job created from a parallel build step, starting from 0. For a build step with `parallelism: 5`, the value would be 0, 1, 2, 3, and 4 respectively.
132    BUILDKITE_PARALLEL_JOB = "BUILDKITE_PARALLEL_JOB"
133    # The total number of parallel jobs created from a parallel build step. For a build step with `parallelism: 5`, the value is 5.
134    BUILDKITE_PARALLEL_JOB_COUNT = "BUILDKITE_PARALLEL_JOB_COUNT"
135    # The default branch for this pipeline.
136    BUILDKITE_PIPELINE_DEFAULT_BRANCH = "BUILDKITE_PIPELINE_DEFAULT_BRANCH"
137    # The UUID of the pipeline.
138    BUILDKITE_PIPELINE_ID = "BUILDKITE_PIPELINE_ID"
139    # The displayed pipeline name on Buildkite.
140    BUILDKITE_PIPELINE_NAME = "BUILDKITE_PIPELINE_NAME"
141    # The ID of the source code provider for the pipeline's repository.
142    BUILDKITE_PIPELINE_PROVIDER = "BUILDKITE_PIPELINE_PROVIDER"
143    # The pipeline slug on Buildkite as used in URLs.
144    BUILDKITE_PIPELINE_SLUG = "BUILDKITE_PIPELINE_SLUG"
145    # A colon separated list of the pipeline's non-private team slugs.
146    BUILDKITE_PIPELINE_TEAMS = "BUILDKITE_PIPELINE_TEAMS"
147    # A JSON string holding the current plugin's configuration (as opposed to all the plugin configurations in the `BUILDKITE_PLUGINS` environment variable).
148    BUILDKITE_PLUGIN_CONFIGURATION = "BUILDKITE_PLUGIN_CONFIGURATION"
149    # The current plugin's name, with all letters in uppercase and any spaces replaced with underscores.
150    BUILDKITE_PLUGIN_NAME = "BUILDKITE_PLUGIN_NAME"
151    # A JSON object containing a list plugins used in the step, and their configuration.
152    BUILDKITE_PLUGINS = "BUILDKITE_PLUGINS"
153    # The opposite of the value of the `no-plugins` [agent configuration option](/docs/agent/v3/configuration).
154    BUILDKITE_PLUGINS_ENABLED = "BUILDKITE_PLUGINS_ENABLED"
155    # The value of the `plugins-path` [agent configuration option](/docs/agent/v3/configuration).
156    BUILDKITE_PLUGINS_PATH = "BUILDKITE_PLUGINS_PATH"
157    # Whether to validate plugin configuration and requirements. The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks, or in a `pipeline.yml` file. It can also be enabled using the `no-plugin-validation` [agent configuration option](/docs/agent/v3/configuration).
158    BUILDKITE_PLUGIN_VALIDATION = "BUILDKITE_PLUGIN_VALIDATION"
159    # The number of the pull request or `false` if not a pull request.
160    BUILDKITE_PULL_REQUEST = "BUILDKITE_PULL_REQUEST"
161    # The base branch that the pull request is targeting or `""` if not a pull request.`
162    BUILDKITE_PULL_REQUEST_BASE_BRANCH = "BUILDKITE_PULL_REQUEST_BASE_BRANCH"
163    # Set to `true` when the pull request is a draft. This variable is only available if a build contains a draft pull request.
164    BUILDKITE_PULL_REQUEST_DRAFT = "BUILDKITE_PULL_REQUEST_DRAFT"
165    # The repository URL of the pull request or `""` if not a pull request.
166    BUILDKITE_PULL_REQUEST_REPO = "BUILDKITE_PULL_REQUEST_REPO"
167    # The UUID of the original build this was rebuilt from or `""` if not a rebuild.
168    BUILDKITE_REBUILT_FROM_BUILD_ID = "BUILDKITE_REBUILT_FROM_BUILD_ID"
169    # The number of the original build this was rebuilt from or `""` if not a rebuild.
170    BUILDKITE_REBUILT_FROM_BUILD_NUMBER = "BUILDKITE_REBUILT_FROM_BUILD_NUMBER"
171    # A custom refspec for the buildkite-agent bootstrap script to use when checking out code. This variable can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
172    BUILDKITE_REFSPEC = "BUILDKITE_REFSPEC"
173    # The repository of your pipeline. This variable can be set by exporting the environment variable in the `environment` or `pre-checkout` hooks.
174    BUILDKITE_REPO = "BUILDKITE_REPO"
175    # The path to the shared git mirror. Introduced in [v3.47.0](https://github.com/buildkite/agent/releases/tag/v3.47.0).
176    BUILDKITE_REPO_MIRROR = "BUILDKITE_REPO_MIRROR"
177    # How many times this job has been retried.
178    BUILDKITE_RETRY_COUNT = "BUILDKITE_RETRY_COUNT"
179    # The access key ID for your S3 IAM user, for use with [private S3 buckets](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, and during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
180    BUILDKITE_S3_ACCESS_KEY_ID = "BUILDKITE_S3_ACCESS_KEY_ID"
181    # The access URL for your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket), if you are using a proxy. The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
182    BUILDKITE_S3_ACCESS_URL = "BUILDKITE_S3_ACCESS_URL"
183    # The Access Control List to be set on artifacts being uploaded to your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
184    #
185    # Must be one of the following values which map to [S3 Canned ACL grants](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl).
186    BUILDKITE_S3_ACL = "BUILDKITE_S3_ACL"
187    # The region of your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
188    BUILDKITE_S3_DEFAULT_REGION = "BUILDKITE_S3_DEFAULT_REGION"
189    # The secret access key for your S3 IAM user, for use with [private S3 buckets](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks. Do not print or export this variable anywhere except your agent hooks.
190    BUILDKITE_S3_SECRET_ACCESS_KEY = "BUILDKITE_S3_SECRET_ACCESS_KEY"
191    # Whether to enable encryption for the artifacts in your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
192    BUILDKITE_S3_SSE_ENABLED = "BUILDKITE_S3_SSE_ENABLED"
193    # The value of the `shell` [agent configuration option](/docs/agent/v3/configuration).
194    BUILDKITE_SHELL = "BUILDKITE_SHELL"
195    # The source of the event that created the build.
196    BUILDKITE_SOURCE = "BUILDKITE_SOURCE"
197    # The opposite of the value of the `no-ssh-keyscan` [agent configuration option](/docs/agent/v3/configuration).
198    BUILDKITE_SSH_KEYSCAN = "BUILDKITE_SSH_KEYSCAN"
199    # A unique string that identifies a step.
200    BUILDKITE_STEP_ID = "BUILDKITE_STEP_ID"
201    # The value of the `key` [command step attribute](/docs/pipelines/command-step#command-step-attributes), a unique string set by you to identify a step.
202    BUILDKITE_STEP_KEY = "BUILDKITE_STEP_KEY"
203    # The name of the tag being built, if this build was triggered from a tag.
204    BUILDKITE_TAG = "BUILDKITE_TAG"
205    # The number of minutes until Buildkite automatically cancels this job, if a timeout has been specified, otherwise it `false` if no timeout is set. Jobs that time out with an exit status of 0 are marked as "passed".
206    BUILDKITE_TIMEOUT = "BUILDKITE_TIMEOUT"
207    # Set to `"datadog"` to send metrics to the [Datadog APM](https://docs.datadoghq.com/tracing/) using `localhost:8126`, or `DD_AGENT_HOST:DD_AGENT_APM_PORT`.
208    #
209    # Also available as a [buildkite agent configuration option.](/docs/agent/v3/configuration#configuration-settings)
210    BUILDKITE_TRACING_BACKEND = "BUILDKITE_TRACING_BACKEND"
211    # The UUID of the build that triggered this build. This will be empty if the build was not triggered from another build.
212    BUILDKITE_TRIGGERED_FROM_BUILD_ID = "BUILDKITE_TRIGGERED_FROM_BUILD_ID"
213    # The number of the build that triggered this build or `""` if the build was not triggered from another build.
214    BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER = "BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER"
215    # The slug of the pipeline that was used to trigger this build or `""` if the build was not triggered from another build.
216    BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG = (
217        "BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG"
218    )
219    # The name of the user who unblocked the build.
220    BUILDKITE_UNBLOCKER = "BUILDKITE_UNBLOCKER"
221    # The notification email of the user who unblocked the build.
222    BUILDKITE_UNBLOCKER_EMAIL = "BUILDKITE_UNBLOCKER_EMAIL"
223    # The UUID of the user who unblocked the build.
224    BUILDKITE_UNBLOCKER_ID = "BUILDKITE_UNBLOCKER_ID"
225    # A colon separated list of non-private team slugs that the user who unblocked the build belongs to.
226    BUILDKITE_UNBLOCKER_TEAMS = "BUILDKITE_UNBLOCKER_TEAMS"
227    # Always `true`.
228    CI = "CI"
class Environment(enum.Enum):
  5class Environment(Enum):
  6    # Always `true`
  7    BUILDKITE = "BUILDKITE"
  8    # The agent session token for the job. The variable is read by the agent `artifact` and `meta-data` commands.
  9    BUILDKITE_AGENT_ACCESS_TOKEN = "BUILDKITE_AGENT_ACCESS_TOKEN"
 10    # The value of the `debug` [agent configuration option](/docs/agent/v3/configuration).
 11    BUILDKITE_AGENT_DEBUG = "BUILDKITE_AGENT_DEBUG"
 12    # The value of the `disconnect-after-job` [agent configuration option](/docs/agent/v3/configuration).
 13    BUILDKITE_AGENT_DISCONNECT_AFTER_JOB = "BUILDKITE_AGENT_DISCONNECT_AFTER_JOB"
 14    # The value of the `disconnect-after-idle-timeout` [agent configuration option](/docs/agent/v3/configuration).
 15    BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT = (
 16        "BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT"
 17    )
 18    # The value of the `endpoint` [agent configuration option](/docs/agent/v3/configuration). This is set as an environment variable by the bootstrap and then read by most of the `buildkite-agent` commands.
 19    BUILDKITE_AGENT_ENDPOINT = "BUILDKITE_AGENT_ENDPOINT"
 20    # A list of the [experimental agent features](/docs/agent/v3#experimental-features) that are currently enabled. The value can be set using the `--experiment` flag on the [`buildkite-agent start` command](/docs/agent/v3/cli-start#starting-an-agent) or in your [agent configuration file](/docs/agent/v3/configuration).
 21    BUILDKITE_AGENT_EXPERIMENT = "BUILDKITE_AGENT_EXPERIMENT"
 22    # The value of the `health-check-addr` [agent configuration option](/docs/agent/v3/configuration).
 23    BUILDKITE_AGENT_HEALTH_CHECK_ADDR = "BUILDKITE_AGENT_HEALTH_CHECK_ADDR"
 24    # The UUID of the agent.
 25    BUILDKITE_AGENT_ID = "BUILDKITE_AGENT_ID"
 26    # The value of each [agent tag](/docs/agent/v3/cli-start#setting-tags). The tag name is appended to the end of the variable name. They can be set using the `--tags` flag on the `buildkite-agent start` command, or in the [agent configuration file](/docs/agent/v3/configuration). The [Queue tag](/docs/agent/v3/queues) is specifically used for isolating jobs and agents, and appears as the `BUILDKITE_AGENT_META_DATA_QUEUE` environment variable.
 27    BUILDKITE_AGENT_META_DATA_ = "BUILDKITE_AGENT_META_DATA_"
 28    # The name of the agent that ran the job.
 29    BUILDKITE_AGENT_NAME = "BUILDKITE_AGENT_NAME"
 30    # The process ID of the agent.
 31    BUILDKITE_AGENT_PID = "BUILDKITE_AGENT_PID"
 32    # The artifact paths to upload after the job, if any have been specified. The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 33    BUILDKITE_ARTIFACT_PATHS = "BUILDKITE_ARTIFACT_PATHS"
 34    # The path where artifacts will be uploaded. This variable is read by the `buildkite-agent artifact upload` command, and during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). It can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
 35    BUILDKITE_ARTIFACT_UPLOAD_DESTINATION = "BUILDKITE_ARTIFACT_UPLOAD_DESTINATION"
 36    # The path to the directory containing the `buildkite-agent` binary.
 37    BUILDKITE_BIN_PATH = "BUILDKITE_BIN_PATH"
 38    # The branch being built. Note that for manually triggered builds, this branch is not guaranteed to contain the commit specified by `BUILDKITE_COMMIT`.
 39    BUILDKITE_BRANCH = "BUILDKITE_BRANCH"
 40    # The path where the agent has checked out your code for this build. This variable is read by the bootstrap when the agent is started, and can only be set by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 41    BUILDKITE_BUILD_CHECKOUT_PATH = "BUILDKITE_BUILD_CHECKOUT_PATH"
 42    # The name of the user who authored the commit being built. May be **[unverified](#unverified-commits)**. This value can be blank in some situations, including builds manually triggered using API or Buildkite web interface.
 43    BUILDKITE_BUILD_AUTHOR = "BUILDKITE_BUILD_AUTHOR"
 44    # The notification email of the user who authored the commit being built. May be **[unverified](#unverified-commits)**. This value can be blank in some situations, including builds manually triggered using API or Buildkite web interface.
 45    BUILDKITE_BUILD_AUTHOR_EMAIL = "BUILDKITE_BUILD_AUTHOR_EMAIL"
 46    # The name of the user who created the build. The value differs depending on how the build was created:
 47    #
 48    # - **Buildkite dashboard:** Set based on who manually created the build.
 49    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 50    # - **Webhook:** Set based on which user is attached to the API Key used.
 51    BUILDKITE_BUILD_CREATOR = "BUILDKITE_BUILD_CREATOR"
 52    # The notification email of the user who created the build. The value differs depending on how the build was created:
 53    #
 54    # - **Buildkite dashboard:** Set based on who manually created the build.
 55    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 56    # - **Webhook:** Set based on which user is attached to the API Key used.
 57    BUILDKITE_BUILD_CREATOR_EMAIL = "BUILDKITE_BUILD_CREATOR_EMAIL"
 58    # A colon separated list of non-private team slugs that the build creator belongs to. The value differs depending on how the build was created:
 59    #
 60    # - **Buildkite dashboard:** Set based on who manually created the build.
 61    # - **GitHub webhook:** Set from the  **[unverified](#unverified-commits)** HEAD commit.
 62    # - **Webhook:** Set based on which user is attached to the API Key used.
 63    BUILDKITE_BUILD_CREATOR_TEAMS = "BUILDKITE_BUILD_CREATOR_TEAMS"
 64    # The UUID of the build.
 65    BUILDKITE_BUILD_ID = "BUILDKITE_BUILD_ID"
 66    # The build number. This number increases with every build, and is guaranteed to be unique within each pipeline.
 67    BUILDKITE_BUILD_NUMBER = "BUILDKITE_BUILD_NUMBER"
 68    # The value of the `build-path` [agent configuration option](/docs/agent/v3/configuration).
 69    BUILDKITE_BUILD_PATH = "BUILDKITE_BUILD_PATH"
 70    # The url for this build on Buildkite.
 71    BUILDKITE_BUILD_URL = "BUILDKITE_BUILD_URL"
 72    # The value of the `cancel-grace-period` [agent configuration option](/docs/agent/v3/configuration) in seconds.
 73    BUILDKITE_CANCEL_GRACE_PERIOD = "BUILDKITE_CANCEL_GRACE_PERIOD"
 74    # The value of the `cancel-signal` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 75    BUILDKITE_CANCEL_SIGNAL = "BUILDKITE_CANCEL_SIGNAL"
 76    # Whether the build should perform a clean checkout. The variable is read during the default checkout phase of the bootstrap and can be overridden in `environment` or `pre-checkout` hooks.
 77    BUILDKITE_CLEAN_CHECKOUT = "BUILDKITE_CLEAN_CHECKOUT"
 78    # The UUID value of the cluster, but only if the build has an associated `cluster_queue`. Otherwise, this environment variable is not set.
 79    BUILDKITE_CLUSTER_ID = "BUILDKITE_CLUSTER_ID"
 80    # The command that will be run for the job.
 81    BUILDKITE_COMMAND = "BUILDKITE_COMMAND"
 82    # The opposite of the value of the `no-command-eval` [agent configuration option](/docs/agent/v3/configuration).
 83    BUILDKITE_COMMAND_EVAL = "BUILDKITE_COMMAND_EVAL"
 84    # The exit code from the last command run in the command hook.
 85    BUILDKITE_COMMAND_EXIT_STATUS = "BUILDKITE_COMMAND_EXIT_STATUS"
 86    # The git commit object of the build. This is usually a 40-byte hexadecimal SHA-1 hash, but can also be a symbolic name like `HEAD`.
 87    BUILDKITE_COMMIT = "BUILDKITE_COMMIT"
 88    # The path to the agent config file.
 89    BUILDKITE_CONFIG_PATH = "BUILDKITE_CONFIG_PATH"
 90    # The path to the file containing the job's environment variables.
 91    BUILDKITE_ENV_FILE = "BUILDKITE_ENV_FILE"
 92    # The value of the `git-clean-flags` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 93    BUILDKITE_GIT_CLEAN_FLAGS = "BUILDKITE_GIT_CLEAN_FLAGS"
 94    # The value of the `git-clone-flags` [agent configuration option](/docs/agent/v3/configuration). The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
 95    BUILDKITE_GIT_CLONE_FLAGS = "BUILDKITE_GIT_CLONE_FLAGS"
 96    # The opposite of the value of the `no-git-submodules` [agent configuration option](/docs/agent/v3/configuration).
 97    BUILDKITE_GIT_SUBMODULES = "BUILDKITE_GIT_SUBMODULES"
 98    # The GitHub deployment ID. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
 99    BUILDKITE_GITHUB_DEPLOYMENT_ID = "BUILDKITE_GITHUB_DEPLOYMENT_ID"
100    # The name of the GitHub deployment environment. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
101    BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT = "BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT"
102    # The name of the GitHub deployment task. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
103    BUILDKITE_GITHUB_DEPLOYMENT_TASK = "BUILDKITE_GITHUB_DEPLOYMENT_TASK"
104    # The GitHub deployment payload data as serialized JSON. Only available on builds triggered by a [GitHub Deployment](https://developer.github.com/v3/repos/deployments/).
105    BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD = "BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD"
106    # The UUID of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
107    BUILDKITE_GROUP_ID = "BUILDKITE_GROUP_ID"
108    # The value of the `key` attribute of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
109    BUILDKITE_GROUP_KEY = "BUILDKITE_GROUP_KEY"
110    # The label/name of the [group step](/docs/pipelines/group-step) the job belongs to. This variable is only available if the job belongs to a group step.
111    BUILDKITE_GROUP_LABEL = "BUILDKITE_GROUP_LABEL"
112    # The value of the `hooks-path` [agent configuration option](/docs/agent/v3/configuration).
113    BUILDKITE_HOOKS_PATH = "BUILDKITE_HOOKS_PATH"
114    # A list of environment variables that have been set in your pipeline that are protected and will be overridden, used internally to pass data from the bootstrap to the agent.
115    BUILDKITE_IGNORED_ENV = "BUILDKITE_IGNORED_ENV"
116    # The internal UUID Buildkite uses for this job.
117    BUILDKITE_JOB_ID = "BUILDKITE_JOB_ID"
118    # The path to a temporary file containing the logs for this job. Requires enabling the `enable-job-log-tmpfile` [agent configuration option](/docs/agent/v3/configuration).
119    BUILDKITE_JOB_LOG_TMPFILE = "BUILDKITE_JOB_LOG_TMPFILE"
120    # The label/name of the current job.
121    BUILDKITE_LABEL = "BUILDKITE_LABEL"
122    # The exit code of the last hook that ran, used internally by the hooks.
123    BUILDKITE_LAST_HOOK_EXIT_STATUS = "BUILDKITE_LAST_HOOK_EXIT_STATUS"
124    # The opposite of the value of the `no-local-hooks` [agent configuration option](/docs/agent/v3/configuration).
125    BUILDKITE_LOCAL_HOOKS_ENABLED = "BUILDKITE_LOCAL_HOOKS_ENABLED"
126    # The message associated with the build, usually the commit message or the message provided when the build is triggered. The value is empty when a message is not set. For example, when a user triggers a build from the Buildkite dashboard without entering a message, the variable returns an empty value.
127    BUILDKITE_MESSAGE = "BUILDKITE_MESSAGE"
128    # The UUID of the organization.
129    BUILDKITE_ORGANIZATION_ID = "BUILDKITE_ORGANIZATION_ID"
130    # The organization name on Buildkite as used in URLs.
131    BUILDKITE_ORGANIZATION_SLUG = "BUILDKITE_ORGANIZATION_SLUG"
132    # The index of each parallel job created from a parallel build step, starting from 0. For a build step with `parallelism: 5`, the value would be 0, 1, 2, 3, and 4 respectively.
133    BUILDKITE_PARALLEL_JOB = "BUILDKITE_PARALLEL_JOB"
134    # The total number of parallel jobs created from a parallel build step. For a build step with `parallelism: 5`, the value is 5.
135    BUILDKITE_PARALLEL_JOB_COUNT = "BUILDKITE_PARALLEL_JOB_COUNT"
136    # The default branch for this pipeline.
137    BUILDKITE_PIPELINE_DEFAULT_BRANCH = "BUILDKITE_PIPELINE_DEFAULT_BRANCH"
138    # The UUID of the pipeline.
139    BUILDKITE_PIPELINE_ID = "BUILDKITE_PIPELINE_ID"
140    # The displayed pipeline name on Buildkite.
141    BUILDKITE_PIPELINE_NAME = "BUILDKITE_PIPELINE_NAME"
142    # The ID of the source code provider for the pipeline's repository.
143    BUILDKITE_PIPELINE_PROVIDER = "BUILDKITE_PIPELINE_PROVIDER"
144    # The pipeline slug on Buildkite as used in URLs.
145    BUILDKITE_PIPELINE_SLUG = "BUILDKITE_PIPELINE_SLUG"
146    # A colon separated list of the pipeline's non-private team slugs.
147    BUILDKITE_PIPELINE_TEAMS = "BUILDKITE_PIPELINE_TEAMS"
148    # A JSON string holding the current plugin's configuration (as opposed to all the plugin configurations in the `BUILDKITE_PLUGINS` environment variable).
149    BUILDKITE_PLUGIN_CONFIGURATION = "BUILDKITE_PLUGIN_CONFIGURATION"
150    # The current plugin's name, with all letters in uppercase and any spaces replaced with underscores.
151    BUILDKITE_PLUGIN_NAME = "BUILDKITE_PLUGIN_NAME"
152    # A JSON object containing a list plugins used in the step, and their configuration.
153    BUILDKITE_PLUGINS = "BUILDKITE_PLUGINS"
154    # The opposite of the value of the `no-plugins` [agent configuration option](/docs/agent/v3/configuration).
155    BUILDKITE_PLUGINS_ENABLED = "BUILDKITE_PLUGINS_ENABLED"
156    # The value of the `plugins-path` [agent configuration option](/docs/agent/v3/configuration).
157    BUILDKITE_PLUGINS_PATH = "BUILDKITE_PLUGINS_PATH"
158    # Whether to validate plugin configuration and requirements. The value can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks, or in a `pipeline.yml` file. It can also be enabled using the `no-plugin-validation` [agent configuration option](/docs/agent/v3/configuration).
159    BUILDKITE_PLUGIN_VALIDATION = "BUILDKITE_PLUGIN_VALIDATION"
160    # The number of the pull request or `false` if not a pull request.
161    BUILDKITE_PULL_REQUEST = "BUILDKITE_PULL_REQUEST"
162    # The base branch that the pull request is targeting or `""` if not a pull request.`
163    BUILDKITE_PULL_REQUEST_BASE_BRANCH = "BUILDKITE_PULL_REQUEST_BASE_BRANCH"
164    # Set to `true` when the pull request is a draft. This variable is only available if a build contains a draft pull request.
165    BUILDKITE_PULL_REQUEST_DRAFT = "BUILDKITE_PULL_REQUEST_DRAFT"
166    # The repository URL of the pull request or `""` if not a pull request.
167    BUILDKITE_PULL_REQUEST_REPO = "BUILDKITE_PULL_REQUEST_REPO"
168    # The UUID of the original build this was rebuilt from or `""` if not a rebuild.
169    BUILDKITE_REBUILT_FROM_BUILD_ID = "BUILDKITE_REBUILT_FROM_BUILD_ID"
170    # The number of the original build this was rebuilt from or `""` if not a rebuild.
171    BUILDKITE_REBUILT_FROM_BUILD_NUMBER = "BUILDKITE_REBUILT_FROM_BUILD_NUMBER"
172    # A custom refspec for the buildkite-agent bootstrap script to use when checking out code. This variable can be modified by exporting the environment variable in the `environment` or `pre-checkout` hooks.
173    BUILDKITE_REFSPEC = "BUILDKITE_REFSPEC"
174    # The repository of your pipeline. This variable can be set by exporting the environment variable in the `environment` or `pre-checkout` hooks.
175    BUILDKITE_REPO = "BUILDKITE_REPO"
176    # The path to the shared git mirror. Introduced in [v3.47.0](https://github.com/buildkite/agent/releases/tag/v3.47.0).
177    BUILDKITE_REPO_MIRROR = "BUILDKITE_REPO_MIRROR"
178    # How many times this job has been retried.
179    BUILDKITE_RETRY_COUNT = "BUILDKITE_RETRY_COUNT"
180    # The access key ID for your S3 IAM user, for use with [private S3 buckets](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, and during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
181    BUILDKITE_S3_ACCESS_KEY_ID = "BUILDKITE_S3_ACCESS_KEY_ID"
182    # The access URL for your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket), if you are using a proxy. The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
183    BUILDKITE_S3_ACCESS_URL = "BUILDKITE_S3_ACCESS_URL"
184    # The Access Control List to be set on artifacts being uploaded to your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
185    #
186    # Must be one of the following values which map to [S3 Canned ACL grants](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl).
187    BUILDKITE_S3_ACL = "BUILDKITE_S3_ACL"
188    # The region of your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
189    BUILDKITE_S3_DEFAULT_REGION = "BUILDKITE_S3_DEFAULT_REGION"
190    # The secret access key for your S3 IAM user, for use with [private S3 buckets](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks. Do not print or export this variable anywhere except your agent hooks.
191    BUILDKITE_S3_SECRET_ACCESS_KEY = "BUILDKITE_S3_SECRET_ACCESS_KEY"
192    # Whether to enable encryption for the artifacts in your [private S3 bucket](/docs/agent/v3/cli-artifact#using-your-private-aws-s3-bucket). The variable is read by the `buildkite-agent artifact upload` command, as well as during the artifact upload phase of [command steps](/docs/pipelines/command-step#command-step-attributes). The value can only be set by exporting the environment variable in the `environment`, `pre-checkout` or `pre-command` hooks.
193    BUILDKITE_S3_SSE_ENABLED = "BUILDKITE_S3_SSE_ENABLED"
194    # The value of the `shell` [agent configuration option](/docs/agent/v3/configuration).
195    BUILDKITE_SHELL = "BUILDKITE_SHELL"
196    # The source of the event that created the build.
197    BUILDKITE_SOURCE = "BUILDKITE_SOURCE"
198    # The opposite of the value of the `no-ssh-keyscan` [agent configuration option](/docs/agent/v3/configuration).
199    BUILDKITE_SSH_KEYSCAN = "BUILDKITE_SSH_KEYSCAN"
200    # A unique string that identifies a step.
201    BUILDKITE_STEP_ID = "BUILDKITE_STEP_ID"
202    # The value of the `key` [command step attribute](/docs/pipelines/command-step#command-step-attributes), a unique string set by you to identify a step.
203    BUILDKITE_STEP_KEY = "BUILDKITE_STEP_KEY"
204    # The name of the tag being built, if this build was triggered from a tag.
205    BUILDKITE_TAG = "BUILDKITE_TAG"
206    # The number of minutes until Buildkite automatically cancels this job, if a timeout has been specified, otherwise it `false` if no timeout is set. Jobs that time out with an exit status of 0 are marked as "passed".
207    BUILDKITE_TIMEOUT = "BUILDKITE_TIMEOUT"
208    # Set to `"datadog"` to send metrics to the [Datadog APM](https://docs.datadoghq.com/tracing/) using `localhost:8126`, or `DD_AGENT_HOST:DD_AGENT_APM_PORT`.
209    #
210    # Also available as a [buildkite agent configuration option.](/docs/agent/v3/configuration#configuration-settings)
211    BUILDKITE_TRACING_BACKEND = "BUILDKITE_TRACING_BACKEND"
212    # The UUID of the build that triggered this build. This will be empty if the build was not triggered from another build.
213    BUILDKITE_TRIGGERED_FROM_BUILD_ID = "BUILDKITE_TRIGGERED_FROM_BUILD_ID"
214    # The number of the build that triggered this build or `""` if the build was not triggered from another build.
215    BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER = "BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER"
216    # The slug of the pipeline that was used to trigger this build or `""` if the build was not triggered from another build.
217    BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG = (
218        "BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG"
219    )
220    # The name of the user who unblocked the build.
221    BUILDKITE_UNBLOCKER = "BUILDKITE_UNBLOCKER"
222    # The notification email of the user who unblocked the build.
223    BUILDKITE_UNBLOCKER_EMAIL = "BUILDKITE_UNBLOCKER_EMAIL"
224    # The UUID of the user who unblocked the build.
225    BUILDKITE_UNBLOCKER_ID = "BUILDKITE_UNBLOCKER_ID"
226    # A colon separated list of non-private team slugs that the user who unblocked the build belongs to.
227    BUILDKITE_UNBLOCKER_TEAMS = "BUILDKITE_UNBLOCKER_TEAMS"
228    # Always `true`.
229    CI = "CI"
BUILDKITE = <Environment.BUILDKITE: 'BUILDKITE'>
BUILDKITE_AGENT_ACCESS_TOKEN = <Environment.BUILDKITE_AGENT_ACCESS_TOKEN: 'BUILDKITE_AGENT_ACCESS_TOKEN'>
BUILDKITE_AGENT_DEBUG = <Environment.BUILDKITE_AGENT_DEBUG: 'BUILDKITE_AGENT_DEBUG'>
BUILDKITE_AGENT_DISCONNECT_AFTER_JOB = <Environment.BUILDKITE_AGENT_DISCONNECT_AFTER_JOB: 'BUILDKITE_AGENT_DISCONNECT_AFTER_JOB'>
BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT = <Environment.BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT: 'BUILDKITE_AGENT_DISCONNECT_AFTER_IDLE_TIMEOUT'>
BUILDKITE_AGENT_ENDPOINT = <Environment.BUILDKITE_AGENT_ENDPOINT: 'BUILDKITE_AGENT_ENDPOINT'>
BUILDKITE_AGENT_EXPERIMENT = <Environment.BUILDKITE_AGENT_EXPERIMENT: 'BUILDKITE_AGENT_EXPERIMENT'>
BUILDKITE_AGENT_HEALTH_CHECK_ADDR = <Environment.BUILDKITE_AGENT_HEALTH_CHECK_ADDR: 'BUILDKITE_AGENT_HEALTH_CHECK_ADDR'>
BUILDKITE_AGENT_ID = <Environment.BUILDKITE_AGENT_ID: 'BUILDKITE_AGENT_ID'>
BUILDKITE_AGENT_META_DATA_ = <Environment.BUILDKITE_AGENT_META_DATA_: 'BUILDKITE_AGENT_META_DATA_'>
BUILDKITE_AGENT_NAME = <Environment.BUILDKITE_AGENT_NAME: 'BUILDKITE_AGENT_NAME'>
BUILDKITE_AGENT_PID = <Environment.BUILDKITE_AGENT_PID: 'BUILDKITE_AGENT_PID'>
BUILDKITE_ARTIFACT_PATHS = <Environment.BUILDKITE_ARTIFACT_PATHS: 'BUILDKITE_ARTIFACT_PATHS'>
BUILDKITE_ARTIFACT_UPLOAD_DESTINATION = <Environment.BUILDKITE_ARTIFACT_UPLOAD_DESTINATION: 'BUILDKITE_ARTIFACT_UPLOAD_DESTINATION'>
BUILDKITE_BIN_PATH = <Environment.BUILDKITE_BIN_PATH: 'BUILDKITE_BIN_PATH'>
BUILDKITE_BRANCH = <Environment.BUILDKITE_BRANCH: 'BUILDKITE_BRANCH'>
BUILDKITE_BUILD_CHECKOUT_PATH = <Environment.BUILDKITE_BUILD_CHECKOUT_PATH: 'BUILDKITE_BUILD_CHECKOUT_PATH'>
BUILDKITE_BUILD_AUTHOR = <Environment.BUILDKITE_BUILD_AUTHOR: 'BUILDKITE_BUILD_AUTHOR'>
BUILDKITE_BUILD_AUTHOR_EMAIL = <Environment.BUILDKITE_BUILD_AUTHOR_EMAIL: 'BUILDKITE_BUILD_AUTHOR_EMAIL'>
BUILDKITE_BUILD_CREATOR = <Environment.BUILDKITE_BUILD_CREATOR: 'BUILDKITE_BUILD_CREATOR'>
BUILDKITE_BUILD_CREATOR_EMAIL = <Environment.BUILDKITE_BUILD_CREATOR_EMAIL: 'BUILDKITE_BUILD_CREATOR_EMAIL'>
BUILDKITE_BUILD_CREATOR_TEAMS = <Environment.BUILDKITE_BUILD_CREATOR_TEAMS: 'BUILDKITE_BUILD_CREATOR_TEAMS'>
BUILDKITE_BUILD_ID = <Environment.BUILDKITE_BUILD_ID: 'BUILDKITE_BUILD_ID'>
BUILDKITE_BUILD_NUMBER = <Environment.BUILDKITE_BUILD_NUMBER: 'BUILDKITE_BUILD_NUMBER'>
BUILDKITE_BUILD_PATH = <Environment.BUILDKITE_BUILD_PATH: 'BUILDKITE_BUILD_PATH'>
BUILDKITE_BUILD_URL = <Environment.BUILDKITE_BUILD_URL: 'BUILDKITE_BUILD_URL'>
BUILDKITE_CANCEL_GRACE_PERIOD = <Environment.BUILDKITE_CANCEL_GRACE_PERIOD: 'BUILDKITE_CANCEL_GRACE_PERIOD'>
BUILDKITE_CANCEL_SIGNAL = <Environment.BUILDKITE_CANCEL_SIGNAL: 'BUILDKITE_CANCEL_SIGNAL'>
BUILDKITE_CLEAN_CHECKOUT = <Environment.BUILDKITE_CLEAN_CHECKOUT: 'BUILDKITE_CLEAN_CHECKOUT'>
BUILDKITE_CLUSTER_ID = <Environment.BUILDKITE_CLUSTER_ID: 'BUILDKITE_CLUSTER_ID'>
BUILDKITE_COMMAND = <Environment.BUILDKITE_COMMAND: 'BUILDKITE_COMMAND'>
BUILDKITE_COMMAND_EVAL = <Environment.BUILDKITE_COMMAND_EVAL: 'BUILDKITE_COMMAND_EVAL'>
BUILDKITE_COMMAND_EXIT_STATUS = <Environment.BUILDKITE_COMMAND_EXIT_STATUS: 'BUILDKITE_COMMAND_EXIT_STATUS'>
BUILDKITE_COMMIT = <Environment.BUILDKITE_COMMIT: 'BUILDKITE_COMMIT'>
BUILDKITE_CONFIG_PATH = <Environment.BUILDKITE_CONFIG_PATH: 'BUILDKITE_CONFIG_PATH'>
BUILDKITE_ENV_FILE = <Environment.BUILDKITE_ENV_FILE: 'BUILDKITE_ENV_FILE'>
BUILDKITE_GIT_CLEAN_FLAGS = <Environment.BUILDKITE_GIT_CLEAN_FLAGS: 'BUILDKITE_GIT_CLEAN_FLAGS'>
BUILDKITE_GIT_CLONE_FLAGS = <Environment.BUILDKITE_GIT_CLONE_FLAGS: 'BUILDKITE_GIT_CLONE_FLAGS'>
BUILDKITE_GIT_SUBMODULES = <Environment.BUILDKITE_GIT_SUBMODULES: 'BUILDKITE_GIT_SUBMODULES'>
BUILDKITE_GITHUB_DEPLOYMENT_ID = <Environment.BUILDKITE_GITHUB_DEPLOYMENT_ID: 'BUILDKITE_GITHUB_DEPLOYMENT_ID'>
BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT = <Environment.BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT: 'BUILDKITE_GITHUB_DEPLOYMENT_ENVIRONMENT'>
BUILDKITE_GITHUB_DEPLOYMENT_TASK = <Environment.BUILDKITE_GITHUB_DEPLOYMENT_TASK: 'BUILDKITE_GITHUB_DEPLOYMENT_TASK'>
BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD = <Environment.BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD: 'BUILDKITE_GITHUB_DEPLOYMENT_PAYLOAD'>
BUILDKITE_GROUP_ID = <Environment.BUILDKITE_GROUP_ID: 'BUILDKITE_GROUP_ID'>
BUILDKITE_GROUP_KEY = <Environment.BUILDKITE_GROUP_KEY: 'BUILDKITE_GROUP_KEY'>
BUILDKITE_GROUP_LABEL = <Environment.BUILDKITE_GROUP_LABEL: 'BUILDKITE_GROUP_LABEL'>
BUILDKITE_HOOKS_PATH = <Environment.BUILDKITE_HOOKS_PATH: 'BUILDKITE_HOOKS_PATH'>
BUILDKITE_IGNORED_ENV = <Environment.BUILDKITE_IGNORED_ENV: 'BUILDKITE_IGNORED_ENV'>
BUILDKITE_JOB_ID = <Environment.BUILDKITE_JOB_ID: 'BUILDKITE_JOB_ID'>
BUILDKITE_JOB_LOG_TMPFILE = <Environment.BUILDKITE_JOB_LOG_TMPFILE: 'BUILDKITE_JOB_LOG_TMPFILE'>
BUILDKITE_LABEL = <Environment.BUILDKITE_LABEL: 'BUILDKITE_LABEL'>
BUILDKITE_LAST_HOOK_EXIT_STATUS = <Environment.BUILDKITE_LAST_HOOK_EXIT_STATUS: 'BUILDKITE_LAST_HOOK_EXIT_STATUS'>
BUILDKITE_LOCAL_HOOKS_ENABLED = <Environment.BUILDKITE_LOCAL_HOOKS_ENABLED: 'BUILDKITE_LOCAL_HOOKS_ENABLED'>
BUILDKITE_MESSAGE = <Environment.BUILDKITE_MESSAGE: 'BUILDKITE_MESSAGE'>
BUILDKITE_ORGANIZATION_ID = <Environment.BUILDKITE_ORGANIZATION_ID: 'BUILDKITE_ORGANIZATION_ID'>
BUILDKITE_ORGANIZATION_SLUG = <Environment.BUILDKITE_ORGANIZATION_SLUG: 'BUILDKITE_ORGANIZATION_SLUG'>
BUILDKITE_PARALLEL_JOB = <Environment.BUILDKITE_PARALLEL_JOB: 'BUILDKITE_PARALLEL_JOB'>
BUILDKITE_PARALLEL_JOB_COUNT = <Environment.BUILDKITE_PARALLEL_JOB_COUNT: 'BUILDKITE_PARALLEL_JOB_COUNT'>
BUILDKITE_PIPELINE_DEFAULT_BRANCH = <Environment.BUILDKITE_PIPELINE_DEFAULT_BRANCH: 'BUILDKITE_PIPELINE_DEFAULT_BRANCH'>
BUILDKITE_PIPELINE_ID = <Environment.BUILDKITE_PIPELINE_ID: 'BUILDKITE_PIPELINE_ID'>
BUILDKITE_PIPELINE_NAME = <Environment.BUILDKITE_PIPELINE_NAME: 'BUILDKITE_PIPELINE_NAME'>
BUILDKITE_PIPELINE_PROVIDER = <Environment.BUILDKITE_PIPELINE_PROVIDER: 'BUILDKITE_PIPELINE_PROVIDER'>
BUILDKITE_PIPELINE_SLUG = <Environment.BUILDKITE_PIPELINE_SLUG: 'BUILDKITE_PIPELINE_SLUG'>
BUILDKITE_PIPELINE_TEAMS = <Environment.BUILDKITE_PIPELINE_TEAMS: 'BUILDKITE_PIPELINE_TEAMS'>
BUILDKITE_PLUGIN_CONFIGURATION = <Environment.BUILDKITE_PLUGIN_CONFIGURATION: 'BUILDKITE_PLUGIN_CONFIGURATION'>
BUILDKITE_PLUGIN_NAME = <Environment.BUILDKITE_PLUGIN_NAME: 'BUILDKITE_PLUGIN_NAME'>
BUILDKITE_PLUGINS = <Environment.BUILDKITE_PLUGINS: 'BUILDKITE_PLUGINS'>
BUILDKITE_PLUGINS_ENABLED = <Environment.BUILDKITE_PLUGINS_ENABLED: 'BUILDKITE_PLUGINS_ENABLED'>
BUILDKITE_PLUGINS_PATH = <Environment.BUILDKITE_PLUGINS_PATH: 'BUILDKITE_PLUGINS_PATH'>
BUILDKITE_PLUGIN_VALIDATION = <Environment.BUILDKITE_PLUGIN_VALIDATION: 'BUILDKITE_PLUGIN_VALIDATION'>
BUILDKITE_PULL_REQUEST = <Environment.BUILDKITE_PULL_REQUEST: 'BUILDKITE_PULL_REQUEST'>
BUILDKITE_PULL_REQUEST_BASE_BRANCH = <Environment.BUILDKITE_PULL_REQUEST_BASE_BRANCH: 'BUILDKITE_PULL_REQUEST_BASE_BRANCH'>
BUILDKITE_PULL_REQUEST_DRAFT = <Environment.BUILDKITE_PULL_REQUEST_DRAFT: 'BUILDKITE_PULL_REQUEST_DRAFT'>
BUILDKITE_PULL_REQUEST_REPO = <Environment.BUILDKITE_PULL_REQUEST_REPO: 'BUILDKITE_PULL_REQUEST_REPO'>
BUILDKITE_REBUILT_FROM_BUILD_ID = <Environment.BUILDKITE_REBUILT_FROM_BUILD_ID: 'BUILDKITE_REBUILT_FROM_BUILD_ID'>
BUILDKITE_REBUILT_FROM_BUILD_NUMBER = <Environment.BUILDKITE_REBUILT_FROM_BUILD_NUMBER: 'BUILDKITE_REBUILT_FROM_BUILD_NUMBER'>
BUILDKITE_REFSPEC = <Environment.BUILDKITE_REFSPEC: 'BUILDKITE_REFSPEC'>
BUILDKITE_REPO = <Environment.BUILDKITE_REPO: 'BUILDKITE_REPO'>
BUILDKITE_REPO_MIRROR = <Environment.BUILDKITE_REPO_MIRROR: 'BUILDKITE_REPO_MIRROR'>
BUILDKITE_RETRY_COUNT = <Environment.BUILDKITE_RETRY_COUNT: 'BUILDKITE_RETRY_COUNT'>
BUILDKITE_S3_ACCESS_KEY_ID = <Environment.BUILDKITE_S3_ACCESS_KEY_ID: 'BUILDKITE_S3_ACCESS_KEY_ID'>
BUILDKITE_S3_ACCESS_URL = <Environment.BUILDKITE_S3_ACCESS_URL: 'BUILDKITE_S3_ACCESS_URL'>
BUILDKITE_S3_ACL = <Environment.BUILDKITE_S3_ACL: 'BUILDKITE_S3_ACL'>
BUILDKITE_S3_DEFAULT_REGION = <Environment.BUILDKITE_S3_DEFAULT_REGION: 'BUILDKITE_S3_DEFAULT_REGION'>
BUILDKITE_S3_SECRET_ACCESS_KEY = <Environment.BUILDKITE_S3_SECRET_ACCESS_KEY: 'BUILDKITE_S3_SECRET_ACCESS_KEY'>
BUILDKITE_S3_SSE_ENABLED = <Environment.BUILDKITE_S3_SSE_ENABLED: 'BUILDKITE_S3_SSE_ENABLED'>
BUILDKITE_SHELL = <Environment.BUILDKITE_SHELL: 'BUILDKITE_SHELL'>
BUILDKITE_SOURCE = <Environment.BUILDKITE_SOURCE: 'BUILDKITE_SOURCE'>
BUILDKITE_SSH_KEYSCAN = <Environment.BUILDKITE_SSH_KEYSCAN: 'BUILDKITE_SSH_KEYSCAN'>
BUILDKITE_STEP_ID = <Environment.BUILDKITE_STEP_ID: 'BUILDKITE_STEP_ID'>
BUILDKITE_STEP_KEY = <Environment.BUILDKITE_STEP_KEY: 'BUILDKITE_STEP_KEY'>
BUILDKITE_TAG = <Environment.BUILDKITE_TAG: 'BUILDKITE_TAG'>
BUILDKITE_TIMEOUT = <Environment.BUILDKITE_TIMEOUT: 'BUILDKITE_TIMEOUT'>
BUILDKITE_TRACING_BACKEND = <Environment.BUILDKITE_TRACING_BACKEND: 'BUILDKITE_TRACING_BACKEND'>
BUILDKITE_TRIGGERED_FROM_BUILD_ID = <Environment.BUILDKITE_TRIGGERED_FROM_BUILD_ID: 'BUILDKITE_TRIGGERED_FROM_BUILD_ID'>
BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER = <Environment.BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER: 'BUILDKITE_TRIGGERED_FROM_BUILD_NUMBER'>
BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG = <Environment.BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG: 'BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG'>
BUILDKITE_UNBLOCKER = <Environment.BUILDKITE_UNBLOCKER: 'BUILDKITE_UNBLOCKER'>
BUILDKITE_UNBLOCKER_EMAIL = <Environment.BUILDKITE_UNBLOCKER_EMAIL: 'BUILDKITE_UNBLOCKER_EMAIL'>
BUILDKITE_UNBLOCKER_ID = <Environment.BUILDKITE_UNBLOCKER_ID: 'BUILDKITE_UNBLOCKER_ID'>
BUILDKITE_UNBLOCKER_TEAMS = <Environment.BUILDKITE_UNBLOCKER_TEAMS: 'BUILDKITE_UNBLOCKER_TEAMS'>
CI = <Environment.CI: 'CI'>