...
- In TeamCity Web UI, navigate to the Agents tab
- Click the Install Build Agents link and then click download zip file
- Unzip the downloaded file into the desired directory.
- Make sure that you have a JDK or JRE 1.6+ installed (You will need JDK (not JRE) for some build runners like Ipr runnerIntelliJ IDEA, Java Inspections , and Duplicates). Please ensure that the JRE_HOME or JAVA_HOME environment variables are set (pointing to the installed JRE or JDK directory respectively) for the shell in which the agent will be started.
- Navigate to the
<installation path>\conf
directory, locate the file calledbuildAgent.dist.properties
and rename it tobuildAgent.properties
. - Edit the
buildAgent.properties
file to specify the TeamCity server URL and the name of the agent. Please refer to Build Agent Configuration section for more details on agent configuration - Under Linux, you may need to give execution permissions to the bin/agent.sh shell script.
Info On Windows you may also want to install the build agent windows service instead of manual agent startup.
...
Platform | Prerequisites |
---|---|
Unix | Installed JDK(JRE) 1.6+ required. JVM should be reachable with JAVA_HOME(JRE_HOME) environment variables or be in paths. |
Windows |
|
...