Dataset
TeamCity build and test history datasets for AI training
A TeamCity dataset is an export from a company's TeamCity server of its build configurations and the history of their builds: the changes each build included, its build log, build problems and one test occurrence per test, with the investigations and mutes people set on failing tests and the snapshot dependencies that join builds into chains. SourceX sources it to a buyer's spec from established businesses that run TeamCity. Each dataset is de-identified, with passwords, tokens and employee names scrubbed or replaced, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Builds of each build configuration with changes, build log, build problems, test occurrences, investigations, mutes and snapshot dependencies
- Typical systems
- TeamCity On-Premises or TeamCity Cloud, with build agents, VCS roots and, where used, Kotlin DSL versioned settings
- Typical history
- Specified by the buyer; bounded by the server's clean-up rules, which can remove artifacts, whole builds or everything
- Modality
- Plain text build logs; structured build, test and problem records; Kotlin DSL settings as code
- Delivery formats
- Agreed per order; build and test records as JSONL, one log file per build, settings as .kts or XML
- Preparation
- Logs and parameters scanned for passwords and tokens; user names, agents, hosts and VCS URLs replaced with consistent keys
- Licensing
- Rights reviewed per company; permitted use set in the license
- Availability
- Sourced to your spec from businesses that run TeamCity; 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_id | integer | The Build's internal id, unique across the server, delivered with its build number. |
| build_type | object | The Build configuration the Build belongs to: id, name and Project path. |
| branch | object | The Build's branch name and default-branch flag, with the revision checked out from each VCS root. |
| status | object | The Build's status (SUCCESS, FAILURE or UNKNOWN), state, status text and finish date. |
| triggered | object | What started the Build, such as a VCS trigger, a schedule or a user. |
| changes | array | The changes TeamCity collected for the Build from its VCS roots: version, author key, comment and changed files. |
| snapshot_dependencies | array | The builds this Build depended on through Snapshot dependencies, by build id. |
| agent | object | The Agent that ran the Build and its agent pool. |
| build_steps | array | The Build steps of the Build configuration as its settings define them: order, name and runner type. |
| build_log | object | The Build log as a downloaded text file, after secret scrubbing. |
| problem_occurrences | array | Build problems raised on the Build: type, details and muted flag. |
| test_occurrences | array | One Test occurrence per test in the Build: test id and name, status, duration, details text, and the muted and new-failure flags. |
| investigations | array | Investigations on the Build's tests, problems or whole Build configuration: assignee and assigner keys, comment, state and resolution method. |
| mutes | array | Mutes covering the Build's tests or problems: scope, who muted, the comment and the unmute condition. |
Field names from the table above; values are masked placeholders.
Example record
{
"build_id": 482117,
"build_type": {
"id": "Billing_Api_IntegrationTests",
"project_path": "Billing / API"
},
"branch": {
"name": "feature/proration-rounding",
"default": false,
"revision": "9be2d4a1f6c3"
},
"status": {
"status": "FAILURE",
"status_text": "Tests failed: 1 (1 new), passed: 1876, muted: 1",
"finished": "2024-03-12T10:24:46Z"
},
"triggered": {
"type": "vcs"
},
"changes": [
{
"version": "9be2d4a1f6c3",
"author_key": "u_0412",
"comment": "Round proration to the minor unit",
"files": [
"billing/proration/Rounding.kt"
]
}
],
"snapshot_dependencies": [
{
"build_id": 482109,
"build_type_id": "Billing_Api_Compile",
"status": "SUCCESS"
}
],
"agent": {
"key": "agent_17",
"pool": "pool_linux"
},
"build_steps": [
{
"n": 1,
"name": "Integration tests",
"runner": "gradle-runner"
}
],
"build_log": {
"file": "logs/482117.log"
},
"problem_occurrences": [
{
"type": "TC_FAILED_TESTS"
}
],
"test_occurrences": [
{
"test_id": "-4129067753201187459",
"name": "com.example.billing.ProrationIT.roundsHalfUpForZeroDecimalCurrency",
"status": "FAILURE",
"duration_ms": 412,
"new_failure": true,
"muted": false,
"next_fixed_build_id": 482203,
"details": "java.lang.AssertionError: expected:<1050> but was:<1049>"
},
{
"test_id": "7715330912846620043",
"name": "com.example.billing.LedgerSyncIT.retriesOnGatewayTimeout",
"status": "FAILURE",
"duration_ms": 30008,
"muted": true
}
],
"investigations": [
{
"test_id": "-4129067753201187459",
"assignee_key": "u_0412",
"assigner_key": "u_0077",
"state": "TAKEN",
"resolution": "whenFixed",
"comment": "Regression from my change, fixing today"
}
],
"mutes": [
{
"test_id": "7715330912846620043",
"scope": "project",
"muted_by_key": "u_0077",
"resolution": "manually",
"comment": "Sandbox gateway times out, see [TICKET]"
}
]
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train test failure triage
A failing test occurrence with its investigation, the assignee's comment and the fixing build is one triage case with a human decision.
Label flaky tests from real signals
Tests that change status on unchanged revisions, with the mutes people set on them, give flaky labels grounded in behavior.
Diagnose failed builds from logs
A build problem, its log block and the changes in that build pair a symptom with candidate causes.
Predict what a change breaks
The new-failure flag on test occurrences links a commit's files to the tests that first failed on it.
Evaluate agents on build chains
Chains with a failed dependency test whether an agent traces a red build to the upstream build that caused it.
Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
Test details kept
Failed test occurrences carry their stack trace and output text, not only a status.
Human-set investigations
Investigations a person assigned can be told apart from those the auto-assigner made.
Mutes with reasons
Mutes carry a comment and an unmute condition.
Whole chains
Every build named in a snapshot dependency is in the delivery.
Builds inside the window
Builds in scope still exist with log and tests, not only as statistics values.
Stable test names
Test names are not regenerated per run, so one test keeps one history.
Record timeline
TeamCity dataset
Tests are records, and triage is stored beside them
TeamCity does not treat test output as part of the log. When a build runner or a service message reports a test, the server stores a test occurrence: one record for that test in that build, with status, duration and, for a failure, the details text that holds the stack trace. The test is identified by its full name, so occurrences line up across builds into a per-test history, and a failed occurrence can say whether it is a new failure, which build it first failed in and which build fixed it. A parameterized test whose name includes a timestamp becomes a new test on every build.
TeamCity also flags flaky tests from its own evidence: a high rate of status flips, a flip with no code change, or mixed results when one build invokes a test several times. An investigation assigns a failing test, a build problem or a whole build configuration to a named user, with who assigned it, when, a comment, and whether it resolves when the problem is fixed, by hand or on a date. A mute tells the server to stop counting a failure, across a project or in chosen build configurations, with the same three ways of ending.
These records change what a build status means. A build that failed only because of muted tests is reported as successful, unless another failure condition such as a non-zero exit code applies, and the muted flag on the occurrence, with a muted count in the status text, is what remains of the failure. Not every investigation is a human judgment either. The investigations auto-assigner build feature can assign the only committer to the build, the only committer to a file named in the error text, or whoever was responsible before. And the server reports investigations and mutes as they stand at export. One marked fixed stays visible only until a later build finishes without the problem, so ask whether ended ones were recovered, and from where.
Clean-up rules set the depth, and chains need their dependencies
A TeamCity server deletes its own history. Clean-up runs on a schedule and applies rules set per project or build configuration and inherited by subprojects. It works by level: it can remove a build's artifacts and leave the log and tests, remove the build from history and leave only its statistics values, or remove everything. Keep rules choose builds by count, age, branch, tag or status, and pinned builds are untouched. The result is uneven depth: old builds without artifacts, statistics charts that reach back further than any build record, and pinned release builds that outlive everything around them.
Data leaves mainly through the REST API, which returns builds, test occurrences, problem occurrences, changes, investigations and mutes through locators. Some list requests are paged, and a list returns only basic fields unless the request names more, so an export that never asked for a test occurrence's details comes back with names and statuses and no stack traces. The build log is downloaded separately. The server keeps it in an internal format that the interface shows as nested blocks, and the download is a text file of timestamped lines. A server backup, the other route, holds the database, settings and, depending on its scope, build logs, but not artifacts.
A build is often one link in a chain. Snapshot dependencies make a test or deploy build wait for upstream builds on the same source revisions, and TeamCity can reuse a suitable finished build instead of running a new one, so one build can belong to several chains. Depending on a setting, a failed upstream build adds a problem to the downstream build, stops it from starting or cancels it. A composite build aggregates the tests of the builds it depends on, so exporting both can count each test twice. Clean-up preserves builds that other builds used as snapshot dependencies. To test a sample, pick one failed downstream build and check that every dependency it names is present with its log.
What to check before licensing
- Have counsel for the buyer and for the data owner read JetBrains' terms for TeamCity on exported data and REST API use, for the edition the business runs.
- Scan build logs, build parameters and versioned settings files for passwords, tokens and connection strings. TeamCity masks only values held in password parameters, by matching their exact text.
- Ask how employee names were replaced in investigations, mutes, change authors and trigger records, with one key per person across all four.
- Ask for the clean-up rules of each project in scope, when they last changed and which builds were pinned.
- Check on a sample that failed test occurrences carry their details text, and that the build log exists for the same builds.
- Confirm every build named in a snapshot dependency is delivered, and ask how composite and reused builds were handled so tests are not counted twice.
- Ask whether ended investigations and mutes were recovered and from which record, and how auto-assigner assignments are told apart from a person's.
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 TeamCity dataset contain?
It contains the build history of one company's TeamCity server. For each build in scope that means its build configuration, the changes included, the build log, build problems and a test occurrence for every test, plus the investigations and mutes set on failures and the snapshot dependencies between builds.
How far back does TeamCity history go?
As far back as the server's clean-up rules allow, and that differs by project and by kind of data. Rules can remove a build's artifacts at one age and the build itself at another, statistics values can outlive both, and pinned builds are kept regardless. Ask for the rules before you specify a time window.
How is this different from JUnit XML reports or raw CI logs?
TeamCity ties each test result to a test identity that persists across builds, so the per-test history, the build where a test first failed and the build that fixed it are already linked. It also stores who took or muted a failure and why. JUnit XML files or log text hold the outcomes but none of those links.
Can builds be joined to the source code changes?
Yes, through the changes TeamCity recorded for each build. Each change carries the revision, author, comment and file list as the server collected them from the VCS root. Joining to full diffs needs the repository, so ask for the matching Git history. Personal builds are a special case, because they can run a patch that was never committed.
Are passwords and tokens removed from logs and parameters?
They are scanned for and replaced during preparation, but no scan catches everything, so test a sample. TeamCity hides the values of password parameters in its own interface, build logs and REST responses by matching the exact text. A secret passed as an ordinary parameter, printed in another encoding or written into a settings file is stored as written.
Is SourceX affiliated with JetBrains?
TeamCity is named to identify the system the records come from. That does not imply a partnership with or endorsement by JetBrains. The records belong to the business that runs TeamCity, 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
- Test suites with run-by-run results
Automated test code plus one result row per test per run, keyed to the commit under test
- Software engineering histories (issues, PRs, reviews)
Issues linked to commits, pull requests, code review, CI runs, deploys and incidents
- Jenkins job configurations and build logs
Job definitions and per-build records from a Jenkins controller's home directory, with console logs and the plugin list
- GitHub Actions workflow runs and logs
Workflow files and their runs: attempts, jobs, steps, log text, annotations and artifacts, tied to commit and event
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.