Child pages
  • Autoincrementer
Skip to end of metadata
Go to start of metadata

General Info

Vendor

JetBrains

License

Apache 2.0

Type

free, open-source

Plugin Description

Plugin adds support for sharing a single incrementing counter between several build configurations. Most common use is to use it to get shared-sequence build number between different build configurations.

Plugin Development Status

Stable.

TeamCity Versions Compatibility

The current plugin version is designed to work with TeamCity 5.0 and later.

Download

Directly from public TeamCity server:
last successful build compatible with TeamCity 8.x+
last successful build compatible with TeamCity 6.x-8.x
last successful build compatible with TeamCity 5.x

Documentation

Installation instructions

  1. Put autoincrementer.zip into <TeamCity Data Directory>/plugins folder.
  2. Restart the server.

Plugin usage

Put %autoinc.<uniqueID>% in the build number pattern or into any build configuration property (where <uniqueID> is a string of your choice).
Initial value for the property is 1. On each build start the value increments by 1. The property can be used in several build configurations: the value will be shared for all the properties having the same name.

Please note that any project administrator can add a reference to the property and, thus, affect the property incrementing. It is advised to use unique, not possible to guess property names.

The properties value are stored in <TeamCity Data Directory>/config/autoincrementer.properties and can be edited there. At this time no web UI for properties values changing is available.

Feedback/Support

If you believe you've faced a bug: Issue Tracker (project: TeamCity)
If you want to ask a question or discuss: Forum

Sources in JetBrains Subversion repository.
Builds at JetBrains public TeamCity instance.

  • No labels