Setting up and Running Additional Build Agents

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
{note}You have to wait several minutes for the build agent to auto-upgrade from the TeamCity server.
{note}
# Add a symbolic link to {{buildAgent/bin/jetbrains.teamcity.BuildAgent.plist}} file with the same name in {{~/Library/LaunchAgents}} directory for automatic startup under current user (you may need to create this directory, if it doesn't exists). To run under root you can create a link in {{/Library/LaunchDaemons}} instead.
# To start the build agent on reboot, you have to copy {{buildAgent/bin/jetbrains.teamcity.BuildAgent.plist}} file to the {{/Library/LaunchDaemons}} directory. And if you don't want to run your agent as root (and you probably don't), you have to edit {{/Library/LaunchDaemons/jetbrains.teamcity.BuildAgent.plist}} file and add section like
{code}<key>UserName></key>
<string>your_user</string>{code} Also, make sure that all files under {{buildAgent}} directory are owned by {{your_user}} to ensure proper agent upgrade process.

# To stop build agent, run the following command:
{code}