UserNameStyle

enum UserNameStyle : Enum<GitVcsRoot.UserNameStyle>

Defines how TeamCity retrieves VCS username from git commit. When the git config contains the following

[user]
name = Joe Coder
email = joe.coder@acme.com

then the git username in commit is Joe Coder <joe.coder@acme.com>. Different options specify which part of the git commit username is used in TeamCity.

Entries

Link copied to clipboard

Use full commit username, i.e. Joe Coder <joe.coder@acme.com>

Link copied to clipboard

Use the email part, for full name Joe Coder <joe.coder@acme.com> it will be joe.coder@acme.com

Link copied to clipboard

Use part of the email before the @ sign, for full name Joe Coder <joe.coder@acme.com> it will be joe.coder

Link copied to clipboard

Use the name part, for full name Joe Coder <joe.coder@acme.com> it will be Joe Coder

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int