Buildkite
Buildkite pipeline.yml files
| Type | object |
|---|---|
| File match |
buildkite.yml
buildkite.yaml
buildkite.json
buildkite.*.yml
buildkite.*.yaml
buildkite.*.json
**/.buildkite/pipeline.yml
**/.buildkite/pipeline.yaml
**/.buildkite/pipeline.json
**/.buildkite/pipeline.*.yml
**/.buildkite/pipeline.*.yaml
**/.buildkite/pipeline.*.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/buildkite/latest.json |
| Source | https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
A list of steps
Environment variables for this step
Array of notification options for this step
(Kubernetes stack only) The container image to use for this pipeline or step
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
Definitions
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
(Kubernetes stack only) The container image to use for this pipeline or step
"node:18-alpine""python:3.11""ubuntu:22.04"
A list of teams that are permitted to unblock this step, whose values are a list of one or more team slugs or IDs
"frontend-team""96176d08-f503-413f-8423-96094953b9e7"[ "frontend-team", "backend-team", "96176d08-f503-413f-8423-96094953b9e7" ]
Query rules to target specific agents
{ "queue": "deploy" }{ "ruby": "2*" }
Query rules to target specific agents in k=v format
"queue=default""xcode=true"
The exit status number that will cause this job to retry
The number of times this job can be retried
The exit signal, if any, that may be retried
The exit signal reason, if any, that may be retried
Which branches will include this step in their builds
"master"[ "feature/*", "chore/*" ]
The paths for the caches to be used in the step
"dist/"[ ".build/*", "assets/*" ]{ "name": "cool-cache", "size": "20g", "paths": [ "/path/one", "/path/two" ] }
Whether to cancel the job as soon as the build is marked as failing
The step keys for a step to depend on
Environment variables for this step
{ "NODE_ENV": "test" }
A boolean expression that omits the step when false
"build.message != 'skip me'""build.branch == 'master'"
A unique identifier for a step, must not resemble a UUID
"deploy-staging""test-integration"
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
":docker: Build"
A boolean expression that omits the step when false
A boolean expression that omits the step when false
A boolean expression that omits the step when false
A boolean expression that omits the step when false
A boolean expression that omits the step when false
1 nested properties
GitHub commit status name
A boolean expression that omits the step when false
Array of notification options for this step
The meta-data key that stores the field's input
The text input name
The explanatory text that is shown after the label
The format must be a regular expression implicitly anchored to the beginning and end of the input and is functionally equivalent to the HTML5 pattern attribute.
Whether the field is required for form submission
The value that is pre-filled in the text field
The text displayed on the select list item
The value to be stored as meta-data
The text displayed directly under the select field’s label
Whether the field is required for form submission
The meta-data key that stores the field's input
The text input name
The value of the option(s) that will be pre-selected in the dropdown
The explanatory text that is shown after the label
Whether more than one option may be selected
Whether the field is required for form submission
A list of input fields required to be filled out before unblocking the step
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
The instructional message displayed in the dialog box when the unblock step is activated
"Release to production?"
Whether this step should be skipped. Passing a string provides a reason for skipping this command
truefalse"My reason"
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
The exit status number that will cause this job to soft-fail
The conditions for marking the step as a soft-fail.
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The label of the block step
The state that the build is set to when the build is blocked by this block step
Which branches will include this step in their builds
The step keys for a step to depend on
A list of input fields required to be filled out before unblocking the step
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
The label of the block step
The label of the block step
The instructional message displayed in the dialog box when the unblock step is activated
A list of teams that are permitted to unblock this step, whose values are a list of one or more team slugs or IDs
15 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The label of the block step
The state that the build is set to when the build is blocked by this block step
Which branches will include this step in their builds
The step keys for a step to depend on
A list of input fields required to be filled out before unblocking the step
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
The label of the block step
The label of the block step
The instructional message displayed in the dialog box when the unblock step is activated
A list of teams that are permitted to unblock this step, whose values are a list of one or more team slugs or IDs
Pauses the execution of a build and waits on a user to unblock it
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The label of the input step
Which branches will include this step in their builds
The step keys for a step to depend on
A list of input fields required to be filled out before unblocking the step
The state that the build is set to when the build is blocked by this input step
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
The label of the input step
The label of the input step
The instructional message displayed in the dialog box when the unblock step is activated
A list of teams that are permitted to unblock this step, whose values are a list of one or more team slugs or IDs
15 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The label of the input step
Which branches will include this step in their builds
The step keys for a step to depend on
A list of input fields required to be filled out before unblocking the step
The state that the build is set to when the build is blocked by this input step
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
The label of the input step
The label of the input step
The instructional message displayed in the dialog box when the unblock step is activated
A list of teams that are permitted to unblock this step, whose values are a list of one or more team slugs or IDs
Pauses the execution of a build and waits on a user to unblock it
List of elements for single-dimension Build Matrix
[ "linux", "freebsd" ]
Specification of a new or existing Build Matrix combination
{ "os": "linux", "arch": "arm64" }
An adjustment to a Build Matrix
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The conditions for marking the step as a soft-fail.
Configuration for multi-dimension Build Matrix
List of Build Matrix adjustments
The commands to run on the agent
Array of notification options for this step
Array of plugins for this step
A map of plugins for this step. Deprecated: please use the array syntax.
Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.
Whether or not this job can be retried manually
Whether or not this job can be retried after it has passed
A string that will be displayed in a tooltip on the Retry button in Buildkite. This will only be displayed if the allowed attribute is set to false.
Whether to allow a job to be retried manually
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The glob path/s of artifacts to upload once this step has finished running
Which branches will include this step in their builds
The paths for the caches to be used in the step
Whether to cancel the job as soon as the build is marked as failing
The commands to run on the agent
The commands to run on the agent
The maximum number of jobs created from this step that are allowed to run at the same time. If you use this attribute, you must also define concurrency_group.
A unique name for the concurrency group that you are creating with the concurrency attribute
Control command order, allowed values are 'ordered' (default) and 'eager'. If you use this attribute, you must also define concurrency_group and concurrency.
The step keys for a step to depend on
Environment variables for this step
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
(Kubernetes stack only) The container image to use for this pipeline or step
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
The signature of the command step, generally injected by agents at pipeline upload
3 nested properties
The algorithm used to generate the signature
The signature value, a JWS compact signature with a detached body
The fields that were signed to form the signature value
Array of notification options for this step
The number of parallel jobs that will be created based on this step
The conditions for marking the step as a soft-fail.
The conditions for retrying this step.
2 nested properties
Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.
[
{
"exit_status": "*",
"limit": 2
}
]
Whether to allow a job to be retried manually
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The number of minutes to time out a job
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
33 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The glob path/s of artifacts to upload once this step has finished running
Which branches will include this step in their builds
The paths for the caches to be used in the step
Whether to cancel the job as soon as the build is marked as failing
The commands to run on the agent
The commands to run on the agent
The maximum number of jobs created from this step that are allowed to run at the same time. If you use this attribute, you must also define concurrency_group.
A unique name for the concurrency group that you are creating with the concurrency attribute
Control command order, allowed values are 'ordered' (default) and 'eager'. If you use this attribute, you must also define concurrency_group and concurrency.
The step keys for a step to depend on
Environment variables for this step
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
(Kubernetes stack only) The container image to use for this pipeline or step
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
The signature of the command step, generally injected by agents at pipeline upload
3 nested properties
The algorithm used to generate the signature
The signature value, a JWS compact signature with a detached body
The fields that were signed to form the signature value
Array of notification options for this step
The number of parallel jobs that will be created based on this step
The conditions for marking the step as a soft-fail.
The conditions for retrying this step.
2 nested properties
Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.
[
{
"exit_status": "*",
"limit": 2
}
]
Whether to allow a job to be retried manually
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The number of minutes to time out a job
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
33 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The glob path/s of artifacts to upload once this step has finished running
Which branches will include this step in their builds
The paths for the caches to be used in the step
Whether to cancel the job as soon as the build is marked as failing
The commands to run on the agent
The commands to run on the agent
The maximum number of jobs created from this step that are allowed to run at the same time. If you use this attribute, you must also define concurrency_group.
A unique name for the concurrency group that you are creating with the concurrency attribute
Control command order, allowed values are 'ordered' (default) and 'eager'. If you use this attribute, you must also define concurrency_group and concurrency.
The step keys for a step to depend on
Environment variables for this step
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
(Kubernetes stack only) The container image to use for this pipeline or step
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
The signature of the command step, generally injected by agents at pipeline upload
3 nested properties
The algorithm used to generate the signature
The signature value, a JWS compact signature with a detached body
The fields that were signed to form the signature value
Array of notification options for this step
The number of parallel jobs that will be created based on this step
The conditions for marking the step as a soft-fail.
The conditions for retrying this step.
2 nested properties
Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.
[
{
"exit_status": "*",
"limit": 2
}
]
Whether to allow a job to be retried manually
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The number of minutes to time out a job
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
33 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
The glob path/s of artifacts to upload once this step has finished running
Which branches will include this step in their builds
The paths for the caches to be used in the step
Whether to cancel the job as soon as the build is marked as failing
The commands to run on the agent
The commands to run on the agent
The maximum number of jobs created from this step that are allowed to run at the same time. If you use this attribute, you must also define concurrency_group.
A unique name for the concurrency group that you are creating with the concurrency attribute
Control command order, allowed values are 'ordered' (default) and 'eager'. If you use this attribute, you must also define concurrency_group and concurrency.
The step keys for a step to depend on
Environment variables for this step
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
(Kubernetes stack only) The container image to use for this pipeline or step
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
The signature of the command step, generally injected by agents at pipeline upload
3 nested properties
The algorithm used to generate the signature
The signature value, a JWS compact signature with a detached body
The fields that were signed to form the signature value
Array of notification options for this step
The number of parallel jobs that will be created based on this step
The conditions for marking the step as a soft-fail.
The conditions for retrying this step.
2 nested properties
Whether to allow a job to retry automatically. If set to true, the retry conditions are set to the default value.
[
{
"exit_status": "*",
"limit": 2
}
]
Whether to allow a job to be retried manually
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The number of minutes to time out a job
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step
Waits for previous steps to pass before continuing
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Which branches will include this step in their builds
Continue to the next steps, even if the previous group of steps fail
The step keys for a step to depend on
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
12 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Which branches will include this step in their builds
Continue to the next steps, even if the previous group of steps fail
The step keys for a step to depend on
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
12 nested properties
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Which branches will include this step in their builds
Continue to the next steps, even if the previous group of steps fail
The step keys for a step to depend on
A boolean expression that omits the step when false
A unique identifier for a step, must not resemble a UUID
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
Waits for previous steps to pass before continuing
The slug of the pipeline to create a build
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Whether to continue the build without waiting for the triggered step to complete
Which branches will include this step in their builds
Properties of the build that will be created when the step is triggered
5 nested properties
The branch for the build
The commit hash for the build
Environment variables for this step
The message for the build (supports emoji)
Meta-data for the build
The step keys for a step to depend on
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The conditions for marking the step as a soft-fail.
16 nested properties
The slug of the pipeline to create a build
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Whether to continue the build without waiting for the triggered step to complete
Which branches will include this step in their builds
Properties of the build that will be created when the step is triggered
5 nested properties
The branch for the build
The commit hash for the build
Environment variables for this step
The message for the build (supports emoji)
Meta-data for the build
The step keys for a step to depend on
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
The label that will be displayed in the pipeline visualisation in Buildkite. Supports emoji.
Whether this step should be skipped. Passing a string provides a reason for skipping this command
The conditions for marking the step as a soft-fail.
A list of steps
The name to give to this group of steps
A list of steps
The step keys for a step to depend on
A boolean expression that omits the step when false
Agent-applied attribute: A glob pattern that omits the step from a build if it does not match any files changed in the build. Can be a single pattern, list of patterns, or an object with include/exclude attributes.
A unique identifier for a step, must not resemble a UUID
The name to give to this group of steps
The name to give to this group of steps
Whether to proceed with this step and further steps if a step named in the depends_on attribute fails
Array of notification options for this step
Whether this step should be skipped. Passing a string provides a reason for skipping this command
A list of steps
Priority of all jobs in the pipeline, higher priorities are assigned to agents. When set pipeline-wide, it applies to all steps that do not have their own priority key set.
-1010