Dataset
Buildkite build and job record datasets for AI training
A Buildkite dataset is an export of one company's Buildkite organization: its pipelines, the builds of each pipeline, and every job in a build with its command, log output, exit status, timings and retries, plus build annotations, meta-data and artifact records. SourceX sources it to a buyer's spec from established businesses that run Buildkite. Each dataset is de-identified, with secrets, internal hostnames and personal details scrubbed or replaced, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Builds and their jobs with job logs, exit statuses, timings, retries, annotations and artifact records, per pipeline
- Typical systems
- Buildkite Pipelines with self-hosted or hosted agents, clusters and queues, plus Test Engine and the company's artifact bucket where used
- Typical history
- Specified by the buyer; bounded by the build retention of the organization's plan and by what it exported or archived
- Modality
- Job log text; structured build, job and artifact records; commands and pipeline YAML as code
- Delivery formats
- Agreed per order; JSONL builds with nested jobs, one log file per job, annotations, artifact files where held
- Preparation
- Secrets and internal hostnames scrubbed from logs and environment values; agent, creator and author identities replaced
- Licensing
- Rights reviewed per company; permitted use set in the license
- Availability
- Sourced to your spec from companies that agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| build_ref | object | The Organization slug, Pipeline slug and Build number that together identify one build. |
| pipeline_settings | object | The Pipeline's repository, default branch and saved steps, which are often a single pipeline upload command. |
| trigger | object | The Build's source (webhook, api, ui, schedule or trigger_job), branch, commit, message, pull request and rebuilt_from. |
| build_state | object | The Build's state, such as passed, failed or canceled, its blocked flag, and its created, started and finished times. |
| meta_data | object | The Build's meta-data key-value store, including values people entered at block and input steps. |
| jobs | array | Every Job in the build in order: type (script, waiter, manual or trigger), name, step_key and command. |
| job_result | object | Per Job: state, exit_status and soft_failed, with the retried, retried_in_job_id and retry_type values that link attempts. |
| job_timings | object | Per Job: scheduled_at, runnable_at, started_at and finished_at, which separate queue wait from run time. |
| agent | object | The Agent that ran the Job, with name and hostname replaced, its tags, and its Cluster and Queue. |
| log | object | The Job log: scrubbed content, size, and whether ANSI codes and Buildkite timestamp sequences were kept. |
| annotations | array | Build Annotations written by buildkite-agent annotate: context, style (success, info, warning or error) and the body, which the API returns as rendered HTML. |
| artifacts | array | Artifact records: path, mime type, file size, SHA-1 checksum, state (such as finished, deleted or expired), and whether the file itself is delivered. |
| test_executions | array | Test Engine executions where used: suite, test name and location, result, duration and failure reason. |
Field names from the table above; values are masked placeholders.
Example record
{
"build_ref": {"organization": "org_17", "pipeline": "platform-monorepo", "number": 48211},
"pipeline_settings": {"repository": "git@[HOST]:org_17/platform.git", "default_branch": "main", "steps": [{"command": "buildkite-agent pipeline upload"}]},
"trigger": {"source": "webhook", "branch": "fix/ledger-rounding", "commit": "c41d9e7", "message": "Round ledger totals half-even", "pull_request": {"id": "5127", "base": "main"}},
"build_state": {"state": "passed", "blocked": false, "created_at": "2025-02-11T09:14:02Z", "finished_at": "2025-02-11T09:27:48Z"},
"meta_data": {"changed-packages": "services/ledger,libs/money"},
"jobs": [
{"id": "job_a1", "type": "script", "name": ":pipeline: Upload", "step_key": null, "command": ".buildkite/generate.py | buildkite-agent pipeline upload", "state": "passed", "exit_status": 0},
{"id": "job_b4", "type": "script", "name": "ledger tests", "step_key": "ledger-test", "command": "bazel test //services/ledger/...", "state": "failed", "exit_status": -1, "soft_failed": false, "retried": true, "retried_in_job_id": "job_b5", "retry_type": "automatic", "agent": {"name": "agent_linux_044", "queue": "default-linux"}, "runnable_at": "2025-02-11T09:14:31Z", "started_at": "2025-02-11T09:15:02Z"},
{"id": "job_b5", "type": "script", "name": "ledger tests", "step_key": "ledger-test", "state": "passed", "exit_status": 0, "agent": {"name": "agent_linux_051", "queue": "default-linux"}, "log": {"file": "logs/48211/job_b5.log", "size": 18244, "ansi": "kept"}}
],
"annotations": [
{"context": "test-summary", "style": "success", "body": "214 passed, 0 failed in `//services/ledger/...`"}
],
"artifacts": [
{"job_id": "job_b5", "path": "bazel-testlogs/services/ledger/test.xml", "file_size": 40218, "sha1sum": "[SHA1]", "state": "finished", "delivered": true}
],
"test_executions": [
{"suite": "ledger", "name": "rounds half to even", "result": "passed", "duration_s": 0.012}
]
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Diagnose a failed job from its log
Group headers split each log into phases, so the failing command and its output can be located.
Learn when to retry
Retry rules, exit statuses and lost-agent failures show which reruns worked and which needed a commit.
Generate pipeline steps for a change
Changed paths and the jobs uploaded for them are examples of deciding what a commit must run.
Model queues and capacity
Runnable and started times per queue and agent show how long work waited for a machine.
Evaluate agents on monorepo CI
Held-out builds test whether an agent can read a build whose steps are not written down in the repository.
Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
Complete job lists
Retried, waiter, manual and trigger jobs are present, not only the final script jobs.
Stable step keys
Steps set a key, so one job can be followed across builds despite changing names.
Logs with group headers
Scripts print section headers, which gives each log usable structure.
Generator in scope
The script that emits the steps, and the repository at each commit, come with the builds.
Retrievable artifacts
Test reports still exist in storage and match their recorded checksums.
Linked triggered builds
Trigger jobs resolve to child builds that are also delivered.
Record timeline
Buildkite dataset
Steps are uploaded while the build runs
The steps saved on a Buildkite pipeline are often a single command, buildkite-agent pipeline upload. That first job runs on an agent, reads .buildkite/pipeline.yml or the output of a generator script, and adds steps to the build already in progress. Any later job can upload more. A build's shape is decided while it runs, and the list of jobs in the build record is the account of what ran. In a large monorepo the generator often compares the commit with its base and uploads steps only for the packages that changed, so two builds of one pipeline may share few job names.
A job missing from a build was left out by the generator. It did not pass and was not skipped, so a per-step success series has gaps that say nothing about quality. Explaining a build takes the generator and its inputs from the repository, because the YAML it emitted is not a file at any commit, unless the team also saved it as an artifact. Each job does keep its command, step key and agent targeting rules. A step with parallelism becomes several jobs with a parallel group index, wait and block steps appear as waiter and manual jobs, and a trigger step is a job pointing at a build in another pipeline.
Retries are kept, not overwritten. A retried job stays in the build marked retried, with the ID of the job that replaced it and whether the retry was automatic, from a rule on exit status, or manual. An exit status of -1 marks a job that failed because Buildkite lost contact with its agent, and soft_failed marks a failure the pipeline was told to tolerate. A rebuild is a new build that points back through rebuilt_from. These are direct labels for infrastructure failure and tolerated failure.
Buildkite holds the record and the logs, the company holds the rest
The hosted service stores pipelines, builds, jobs, log output, annotations and build meta-data. The agent is an open source program that usually runs on the company's own machines, where it checks out the code, reads the secrets and streams log output back. Artifacts are split the same way. An upload registers each file with its path, size, SHA-1 checksum and state, and the bytes go either to storage Buildkite manages, which keeps them for a limited period that depends on plan, or, when the agent is given an upload destination, to the company's own Amazon S3, Google Cloud Storage or Azure Blob Storage bucket or Artifactory. In the second case the API yields only the index, and the files have to come from the bucket, matched by path and checksum, if a lifecycle rule has not deleted them.
The REST and GraphQL APIs return builds with their jobs nested, and each job's log through a separate request that gives the content, its size and header times. Raw log text carries ANSI color codes, Buildkite's own timestamp escape sequences and header lines beginning with three dashes, plus signs or tildes, which the web interface turns into collapsible groups that mark a job's phases. A job's log can be deleted through the API, and Buildkite removes builds once they pass a retention period set by the organization's plan. On the Enterprise plan it can export each expiring build as JSON to the company's own S3 or GCS bucket, so ask whether build export was on and for the earliest date with full job logs. Test Engine data sits behind its own API as suites, runs and executions.
Agents run inside private networks, so logs show internal hostnames, registry URLs, file paths and hook output. The agent redacts only the values of environment variables whose names match its configured patterns, and it skips very short values. A secret a script fetched during the job, one printed in encoded form, or one interpolated into uploaded steps passes through, and output saved with tee into an artifact was captured before redaction. The API also returns build and job environment variables, agent hostnames and IP addresses, and the names and emails of the people who created builds. On a sample, check that every retried job's replacement resolves, that delivered artifacts match their checksums, and that a secret scanner finds nothing in logs, job commands or environment values.
What to check before licensing
- Have the buyer's counsel and the data owner read Buildkite's terms on exported data and API use before any export is run.
- Ask how each pipeline's steps are produced, static YAML or a generator, and whether the generator script and repository are in the delivery.
- Ask whether artifacts went to Buildkite-managed storage or the company's own bucket, whether the files still exist, and verify checksums on a sample.
- Run a secret scanner over job logs, job commands, environment values and annotations, and ask which variable-name patterns the agents were set to redact.
- Ask what build retention the plan applied, whether build export to the company's bucket was on, whether any logs were deleted, and the earliest date with full job logs for each pipeline.
- Count jobs by type and state on the sample, and confirm retried jobs resolve to their replacements and trigger jobs to their child builds.
- Confirm agent names, hostnames and IP addresses, build creators and any commit author details were replaced consistently, and that the license covers code printed in logs.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does a Buildkite dataset contain?
It contains the build history of one company's Buildkite organization. For each pipeline that means its builds, and for each build the full list of jobs with commands, states, exit statuses, timings, retries and agents, plus each job's log, the build's annotations and meta-data, and the artifact index. Test Engine executions are included where used.
Why do builds of the same pipeline have different jobs?
Because Buildkite steps are often uploaded during the build by a script. The generator decides what to run from the commit, and in a monorepo it often emits steps only for the packages that changed. A job absent from a build was never created. Ask for the generator if you need to explain a build's job list.
Are the artifact files included?
Only where they still exist and the data owner can supply them. Buildkite holds a record of each artifact with its path, size and checksum. The file may be in Buildkite-managed storage, which keeps it for a limited period, or in the company's own bucket, where a lifecycle rule may have removed it. Say which artifacts you need and verify a sample against the checksums.
Does the dataset include the source code?
Not from Buildkite. Agents check the repository out where they run, usually on the company's machines, and the build record stores the commit SHA, branch and message, not the files. Code at each built commit, or the script that generates the steps, has to be licensed and delivered from the company's repository with the build records.
How are secrets in job logs handled?
They are scrubbed before delivery, and the buyer should verify that on a sample. The agent redacts the values of environment variables whose names match configured patterns, which misses secrets fetched during a job, printed in another encoding or written into an artifact. A second scan covers logs, job commands, environment values and annotations. No method is perfect.
Is SourceX affiliated with Buildkite Pty Ltd?
Buildkite is named to identify the system the records come from. That does not imply a partnership with or endorsement by Buildkite Pty Ltd. The records belong to the business that runs Buildkite, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- CI/CD pipeline logs and build failures
Pipeline runs with step logs and exit codes, joined to triggering and fixing commits
- CircleCI pipeline and job records
Pipelines, workflows and jobs with step output, timings, statuses, per-test results, artifact listings and the config each pipeline ran
- GitHub Actions workflow runs and logs
Workflow files and their runs: attempts, jobs, steps, log text, annotations and artifacts, tied to commit and event
- TeamCity build and test histories
Builds of each build configuration with changes, build log, build problems, test occurrences, investigations, mutes and snapshot dependencies
- Long-lived monorepos with a decade of history
One repository of many services and libraries, with full history, build graph, ownership files and repo-wide change records
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.