Project Documentation

Installing and Configuring a Build Agent

Standalone

The Build Agent is available as a separate standalone Jetty-bundled webapp. Installing it is as simple as extracting it to a preferred directory.

The Build Agent runs on a specific port (defaulting to 8181), so it is possible to install multiple Build Agents in one machine. It is also possible to install Slaves in the same machine as the Master. To configure the Build Agent to run using a different port, edit the $CONTINUUM_BUILDAGENT_HOME/conf/jetty.xml file.

Another configuration file to look at is the $CONTINUUM_BUILDAGENT_HOME/conf/continuum-buildagent.xml. This file must be manually edited, as there is no web interface for configuration.

buildOutputDirectory - similar to the build output directory of Continuum

workingDirectory - similar to the working directory of Continuum

continuumServerUrl - the url pointing to the XML-RPC context of the Master Build Agent

installations - a list of the installations available on the build agent, including Maven, Ant, JDK, etc.

Note that all of your agents need not be identical, as there is a way to control which agent Continuum chooses by using a Build Agent Group. In addition, you need to configure the Build Environment from the Master in order to specify which installation to use for the build.

Now start the Build Agent by executing the startup script available in $CONTINUUM_BUILDAGENT_HOME/bin/. For example: