General Info

Vendor

JetBrains

License

Apache 2.0

Type

free, open source

Description

This plugin allows to limit

the number of
concurrently running builds from different build configurations based on defined "resources" and "locks".
Current version supports multiple read and write locks per build configuration.

Plugin Development Status

In active development. Everybody is encouraged to try the plugin and provide feedback in the forum or post bugs into the issue tracker.

Usage

Install the plugin as usual.

Managing resources

Resource is a named entity that is defined per project. Build configurations can lock resources during execution of build steps. To create a resource, head to project configuration page. There choose 'SharedResources' tab.
Resources can have quota - maximum number of concurrent read locks. Example below shows two resources: one with quota, one without.

Managing locks

There are two types of locks supported: read locks and write locks. Read locks are shared (multiple builds with read locks are allowed), write locks are exclusive (only a single running build with a write lock is allowed).

Information in build queue

TODO: add description of build parameters defined

TeamCity Versions Compatibility

TeamCity 7.0+

Download

Last successful nightly build

[Last stable build|http://teamcity.jetbrains.net/repository/download/bt400/.lastPinned/TeamCity.SharedResources.zip] from public TeamCity server

Development Links

Sources on GitHub

Nightly builds on public TeamCity server:

[Last stable build|http://teamcity.jetbrains.net/viewLog.html?buildTypeId=bt400&buildId=lastPinned&guest=1]

Related Materials

Original issue