JetBrains Launches Warm Agents Plugin for TeamCity to Reduce CI Wait Times

Editorial illustration featuring a glowing cyan battery capsule next to a silver toggle switch on a matte grey surface.

JetBrains has introduced Warm Agents, a plugin for TeamCity aimed at eliminating continuous integration queue delays by maintaining pre-started cloud build instances. Designed to prevent quick test pipelines from waiting on cloud virtual machine provisioning, the plugin automatically keeps a standby pool of idle agents ready across all cloud infrastructure providers supported by TeamCity.

Automated Provisioning for Cloud Builds

The Warm Agents plugin monitors idle cloud instance counts for specific cloud images configured within a project. Whenever the number of idle agents falls below a user-configured target value, TeamCity provisions new cloud instances in small batches. This process allows incoming build jobs, such as pull request verification tests, to begin execution immediately instead of standing in queue during instance startup.

API Control and Automated Scheduling

Engineers can configure and update warm agent target counts using the teamcity-cli tool, REST API endpoints, or the web interface under Project Settings. Because target adjustments occur on the fly without forcibly stopping existing instances, teams can implement dynamic scaling schedules. For example, developers can use scheduled triggers or Kotlin DSL scripts to scale target counts up during work hours and reset them to zero overnight, while standard cloud image idle timeout configurations continue to govern instance termination.

Licensing Tradeoffs and Metrics Integration

Deploying the plugin requires TeamCity version 2024.12.3 or later, an active cloud profile, and cloud profile management permissions. JetBrains notes that maintaining idle instances trades cloud infrastructure fees and build agent license consumption for reduced build latency. To assist with capacity planning, the plugin provides Prometheus-formatted utilization and saturation metrics per cloud image through project metrics API endpoints, requiring a main-node cookie pin in multi-node environments.

AI-generated editorial illustration; not a documentary photograph.

Source: Introducing Warm Agents, a TeamCity Plugin

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *