This is the documentation for Bamboo 5.8. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

This page describes how to install the Bamboo Remote Agent manually.

始める前に

Note that you can run multiple Bamboo agents on the same machine – you just need to provide a separate home directory for each agent installation.

Step 1. Enable remote agent support

  1. Click the  icon in the Bamboo header and choose Overview.
  2. Click Agents (under 'Build Resources')
  3. Click either Enable Remote Agent Support or Disable Remote Agent Support.

Read more about enabling and disabling remote agent support here.

Step 2. Download and install the remote agent

  1. Create a directory on the agent machine (e.g. bamboo-agent-home) to serve as the Bamboo agent home for the remote agent.
  2. Click the  icon in the Bamboo header and choose Overview.
  3. Click Agents in the left panel (Under Build Resources). This will display the 'Agents' screen, showing lists of all local agents and all remote agents that currently exist on your Bamboo system.
  4. If not already enabled, click the Enable remote agent support link 
  5. Click Install Remote Agent. The 'Installing a remote agent' screen will display
  6. Click DOWNLOAD Remote Agent JAR and save the JAR file to the directory on the agent machine that you created above.
  7. Copy the command under 'Running a Remote Agent' to the clipboard for use in Step 3 that follows.

Step 3. Launch the remote agent

Once installed, run the remote agent by executing the command line obtained above. This command will look something like this:

java -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-host-server:8085/bamboo/agentServer/

または

java -Dbamboo.home=YourPath -jar atlassian-bamboo-agent-installer-X.X-SNAPSHOT.jar http://bamboo-host-server:8085/bamboo/agentServer/

Where X.X represents your Bamboo version number and YourPath represents the bamboo-agent-home folder's path that you created on step 1.

(info) The name of the jar file, for example, atlassian-bamboo-agent-installer-5.4-SNAPSHOT.jar, will vary depending on the version of Bamboo you are running.

You can run the remote agent with a number of additional command line parameters. Configuration options include remote agent data storage, capability detection and logging, suppression of self-signed certificate and running without the Remote Agent Supervisor or with different start-up commands.

See Additional remote agent options for more information.

If you are having issues launching the agent, then take a look at our troubleshooting guide.

Step 4. Configure the remote agent's capabilities

All remote agents feature a capability that can be defined. Examples include an executable, such as Maven, a JDK, a DVCS client or a custom capability. They typically define the path to an executable that has already been installed, and must be defined in Bamboo before Bamboo or its agents can make use of them.

Capabilities can be defined specifically for an agent, or shared between all local or all remote agents.

Please see Configuring capabilities for more on defining capabilities.