TeamCity On-Premises
 
Get TeamCity On-Premises

Configuring Build Agent Startup Properties

Edit pageLast modified: 24 September 2024

In TeamCity, a build agent contains two processes:

  • Agent launcher — a Java process that launches the agent process.

  • Agent — the main process for a build agent; runs as a child process for the agent launcher.

Whether you run a build agent via the agent.bat|sh script or as a Windows service, the agent launcher starts first, and then it starts the agent itself. Remember that running an agent via script is the recommended approach but you might want to run it as a service in certain cases; refer to this page for more information.