jetbrains.buildServer.configs.kotlin.v2017_2.vcs / GitVcsRoot / UserNameStyle

UserNameStyle

enum class 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.

Enum Values

NAME

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

USERID

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

EMAIL

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

FULL

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