Each build in TeamCity is assigned a build number, which is a string identifier composed according to the pattern specified in the build configuration setting on the General Settings page.
This number is displayed in the UI and passed into the build as a predefined property.
A build number can be:
- used to download artifacts
- referenced as a property
- shared for builds connected by a dependency
- used in artifact dependencies
- set with help of service messages