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 the name part, for full name Joe Coder <joe.coder@acme.com> it will be Joe Coder

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 email part, for full name Joe Coder <joe.coder@acme.com> it will be joe.coder@acme.com

Link copied to clipboard

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

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.