runningBuildsLimitingMode

This option regulates TeamCity behavior if the number of running builds reached the limit and a new build is triggered.

Example. Limit the number of concurrent builds to 1 in pull request branches and cancel obsolete builds if a new build is triggered

maxRunningBuildsPerBranch = "pull/*:1"
runningBuildsLimitingMode = BuildsLimitingMode.CANCEL_OLDEST_RUNNING_BUILD
*/

Since

2026.1