[Bamboo Knowledge Base]
If you have implemented your own remote agent service wrapper or have problems with the service wrapper used by the remote agent supervisor in Bamboo, you can install the legacy remote agent (pre-Bamboo 2.2) which does not have a service wrapper.
Before you begin:
bamboo-agent-home
), to serve as the "Bamboo agent home" for the remote agent. Note that if you configure the capabilities of the remote agent using a bamboo-capabilities.properties
file, that file should be located in the same directory as the JAR file (that is, bamboo-agent-home
in the above instructions).
Once installed, you can run the remote agent by executing the command line obtained in the previous step. This command will look something like the following:
java -jar bamboo-agent-2.0-SNAPSHOT.jar http://bamboo-host-server:8085/agentServer/
You may wish to configure the remote agent machine to start the Bamboo remote agent automatically when the machine boots. Please consult your operating system documentation for instructions on how to do this.
You can also choose to run the remote agent with different command line parameters, to change where the remote agent stores its data or suppress the self-signed certificate of the server.
By default, the remote agent will store its data in a directory called bamboo-agent-home
. If you wish to specify a different directory, add the following command line parameter:
-Dbamboo.home=RemoteAgentHome
where RemoteAgentHome is the path to the Bamboo agent home directory you created in step 1.1.
Your command line will look something like this:
java -Dbamboo.home=RemoteAgentHome -jar bamboo-agent-2.0-SNAPSHOT.jar http://bamboo-host-server:8085/agentServer/
If your Bamboo server uses SSL (https) with a self-signed certificate, you will need to carry out one of the following two options:
Please see Configuring capabilities.