VcsLabeling
Build feature enabling automatic VCS labeling in a build.
Example. Upon finishing of a successful build, add a tag with name 'teamcity-build-%system.build.number%' to the VCS repository of the VCS Root with specified id. Note: parameter reference %system.build.number% will be replaced with the build number of the build. See also predefined parameters.
buildType {
// Other Build Type settings ...
features {
// Other Build Features ...
vcsLabeling {
vcsRootId = "< id of a VCS root>"
labelingPattern = "teamcity-build-%system.build.number%"
successfulOnly = true
}
Content copied to clipboard }
}
See also
Constructors
Functions
Copies parameters of this object to the specified target
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.
Validates this object and reports found errors to the provided consumer
Properties
Branch filter specifies in which branches sources should be labeled