Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename a TeamCity Build Agent

Tags:

teamcity

I have inherited a TeamCity server and I am reviewing the configuration. To make it a little easier, I would like to rename a build agent from a long random name to something a little more easily identifiable.

However, I cannot find any options to change the name in the Agent Summary page.

Has anyone got a way to change the build agent name?

like image 416
Karl Gjertsen Avatar asked Mar 22 '16 15:03

Karl Gjertsen


1 Answers

You need to edit the name field in the buildAgent.properties file on the agent itself:

name=change-this-name

Depending on where you installed the TeamCity Agent, on Windows the file may live at C:\TeamCity\buildAgent\conf\buildAgent.properties or on Linux at /home/teamcity/buildagent/conf/buildAgent.properties.

like image 91
Jonathon Rossi Avatar answered Sep 25 '22 12:09

Jonathon Rossi