VCS root: Configure Author and signing

Hello!

For some repos I would need to set a proper author and sign the commit when trying to commit from within TC.

Does anyone have an idea how to set up the VCS root accordingly? At least the UI does not seem to allow me to do so?

 

Regards Christian

0
1 comment

Hi,

May I ask how you are applying the commits?

If this information gathering occurs in the integrated development environment (IDE), you can refer to the documentation on “Pre-tested Commit” for more details.

In case you have build steps involving a "git commit" operation, it's crucial to configure the build agent's user to provide the necessary information for Git as if it were a regular user. Identify the user running the TeamCity build agent, switch to that user, and configure Git user details such as name and email. Afterward, restart the TeamCity Build Agent to apply the changes.

If you're looking to configure your user profile in TeamCity, you can find detailed instructions in the Configuring Your User Profile | TeamCity On-Premise Documentation.

In your TeamCity profile, specifically under the "General" section, locate the "Version Control Username Settings" area. By default, TeamCity uses your login name as the Version Control System (VCS) username. Click on "Edit" to input the actual usernames for the VCS you're using, ensuring accuracy. It's important to note that these settings aren't used for VCS authentication but rather serve as a reference within TeamCity to associate your TeamCity user profile with your VCS usernames.

It's important to note that these settings are not used for authentication with the specific VCS. Instead, they serve as a reference within TeamCity to associate your TeamCity user profile with your VCS usernames.

0

Please sign in to leave a comment.