Free forever, no credit card.Get Started for Free →
← All posts
November 27, 2026 · 6 min read

Does TeamCity Remember Between Runs? Artifacts Carry Files Down a Chain. The Next Build Starts Without the Last Build's Reasoning.

Does TeamCity Remember Between Runs? Artifacts Carry Files Down a Chain. The Next Build Starts Without the Last Build's Reasoning. Run the same TeamCity configuration twice and the second build feels familiar. The same steps run in the same order, the same parameters appear on the run dialog, and the history tab lists both builds side by side. That familiarity can look like memory. It is not the same thing. TeamCity remembers a project well enough to repeat it. It does not hand the next build w

Does TeamCity Remember Between Runs? Artifacts Carry Files Down a Chain. The Next Build Starts Without the Last Build's Reasoning.

Run the same TeamCity configuration twice and the second build feels familiar. The same steps run in the same order, the same parameters appear on the run dialog, and the history tab lists both builds side by side. That familiarity can look like memory. It is not the same thing. TeamCity remembers a project well enough to repeat it. It does not hand the next build what the last build learned while it was working.

That gap matters when a build carries AI steps. A nightly configuration that triages test failures needs the judgments and open questions from the run before it. Knowing what TeamCity keeps shows where that continuity has to come from.

Artifacts carry files, in one direction, for a configured reason

The clearest cross-build channel in TeamCity is the artifact dependency. A build publishes files as artifacts, and a later build can download them before it starts. JetBrains documents the sources plainly: artifacts can come from a build earlier in the same build chain, from a separate configuration outside the chain, or from a previous build of the same configuration, chosen as the latest successful, latest pinned, latest finished, or a build from the same chain.

That is real persistence, and it is narrow in three ways. First, it moves files, not understanding. An artifact can hold a report, a package, or a summary file if a step writes one, but nothing in TeamCity decides what belongs in that summary, reads it back as context, or updates it when a decision changes. Second, it flows with configuration, not with learning. Someone has to declare the dependency, write the artifact rules, and pick the destination path in advance. Third, it is subject to clean-up. Builds are cleaned and deleted on a regular basis under the clean-up policy, so a dependency on an ordinary build can point at something that no longer exists, unless the build is pinned or referenced by number.

Inside a chain, snapshot dependencies add ordering and revision safety: downstream builds wait and check out the same revision. That keeps a chain consistent, not the next run informed.

Parameters are configuration, and a build cannot rewrite its own starting point by default

The second thing that crosses the build boundary is parameters. Values can come from a project and be inherited by its subprojects and configurations, from a build configuration or template, from the Run Custom Build dialog, from an agent's buildAgent.properties file, or from predefined parameters that describe the build and the agent environment. Priority decides which source wins when several supply the same name.

Parameters describe how a build should behave in general: an endpoint, a deployment target, a version string, a credential reference. They are set by a person or by configuration before the build starts.

A build step can change a parameter while it runs. The setParameter service message updates a value for later steps, and JetBrains is explicit about its scope: it overrides the value only in the scope of the current build or build chain. To change a value permanently, a step has to make a separate REST API request. In other words, the normal path runs one way, from configuration into the build, never from the build's experience back into the next build's starting knowledge.

Chain output parameters follow the same shape. An upstream build can expose a value that a downstream build reads as dep... That sharing is declared in advance, moves down the chain, and ends with the chain.

The agent work directory is not a memory either

Builds run on agents, in a work directory that holds the checkout and the files a build creates. TeamCity even ships a cleaner, Swabra, that tracks files created, modified, or deleted during a build and removes new files when the build finishes or the next build starts. Agents can be reused, replaced, or run in the cloud, so any file left on one agent is an unreliable place to store what a run learned. The design assumes the work directory is working space, not a record the next build can trust.

Build history is a record for people

Finished builds stay visible for a while. History, logs, and test results let a person compare a failure today with a pass last week. That record helps a human debug.

No build reads it as its starting context. A new build does not open the previous build's log, extract its conclusions, and begin from them. The history sits in the server UI for inspection after the fact, in a separate place from the work itself.

TeamCity's design is clear: artifacts carry declared files, parameters carry fixed configuration, chains carry values in one direction, and history is for people. None supply working context to the next execution.

What an AI step actually needs at the start of a build

Picture a nightly configuration with an AI step that triages failing tests. On Monday it decides three failures are flakes, one is a real regression, and one needs a maintainer's call. On Tuesday the same step starts again. Artifacts give it packages and reports. Parameters give it endpoints and credentials. Monday's judgments are nowhere it can read as context, unless the team built a separate store and a retrieval step around it. Without that, the step re-derives every call and can contradict Monday without ever knowing Monday existed.

Publishing Monday's summary as an artifact does not close the gap by itself. Someone still has to configure the dependency, handle clean-up, and keep the summary current. The missing piece is a memory layer the agent itself reads and writes as part of its work.

Giving TeamCity agents one shared memory

Vilix AI is that memory layer. It is cloud-hosted, so there is no database, vector store, or server to deploy or maintain next to the build infrastructure: zero infrastructure to run. An agent step connects over MCP, reads the relevant context before it acts, and saves what it decided before the build ends.

The same memory is available everywhere over MCP, not only inside TeamCity. The step that triages tests in a build, an agent in a coding tool, and an assistant in a chat window can all read and write the same shared state, so a decision made in one place is present in the others. Vilix AI keeps full conversation history, not just extracted facts, so the reasoning behind a call, the correction that followed it, and the exact wording of an open question survive together.

Getting started is deliberately low-risk. Vilix AI has a free plan that stays free forever, and Pro offers a 7-day trial with no card required. Data can be exported or deleted at any time, so memory stays under the team's control while it accumulates.

TeamCity is excellent at giving every build the same reliable start. Keep using artifacts for files, parameters for configuration, and history for investigation. Add Vilix AI for the one job none of them do: letting the next build start with what the last build learned.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials.

Does GoCD Remember Between Runs? An Artifact Carries the Binary Forward. The Next Pipeline Instance Starts With Only Its Materials. GoCD remembers a great deal about delivery, and almost nothing about reasoning. Every pipeline instance is recorded, every artifact a job publishes is stored, and a downstream pipeline can fetch exactly the artifact its ancestor produced. What no instance inherits is the working context behind the last run: why a stage was retried, what an operator noticed in the l

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK?

What Are the Alternatives to Google InMemory Sessions for the Anthropic SDK? The alternatives to Google InMemory sessions for the Anthropic SDK are a database-backed session store you run yourself, a managed session service from a cloud platform, or a hosted memory layer your agent connects to over MCP. InMemory sessions keep state in process memory only, so every restart, redeploy, or scale-out wipes what your agent knew. Any of the three alternatives fixes that by writing session state and co

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger.

Does Spinnaker Remember Between Runs? An Artifact Can Carry Over From the Prior Execution. The Next Execution Starts With Only Its Trigger. A Spinnaker pipeline that deploys the same service every day can look like it knows the service by heart. The right image arrives, the right manifest renders, and the execution list shows every earlier deployment in order. Underneath, each execution is its own record with its own context, built from its trigger and its stages. What one execution learned sta