Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to install multiple remote agents for Atlassian Bamboo on a single computer?

Our company produces cross-platform software and we have Bamboo instance which is building projects under various incompatible environments (linux, win, os x). There's a VM configured for building under each environment. So is it possible to run several remote agents on each VM to perform concurrent builds of different projects ?

like image 622
vrogach Avatar asked Apr 04 '12 12:04

vrogach


3 Answers

Yes, that is possible. See the "Changing where the remote agent stores its data" section of the Bamboo Remote Agent Installation guide.

To make this work, for each remote agent you run on the same machine you will need to specify a different location defined for the agent to store its data (otherwise builds will fail trying to write to the same location).

like image 149
jdumay Avatar answered Nov 12 '22 10:11

jdumay


Yes it is possible to run multiple remote agents on both windows and linux based hosts. I currently manage the remote agents for the linux hosts so I can't comment on the windows service remote agents.

I implemented the multiple remote agents buy first creating a folder for each agent, then on installation of each agent you specify the location for the bamboo.home of each agent.

On the bamboo master server you can rename the remote agent so you can tell the difference between the agent that is running you build job.

like image 4
hughmcmanus Avatar answered Nov 12 '22 08:11

hughmcmanus


I can't comment on linux, but on Windows, yes you can.

If you change the Windows service name from the default 'Bamboo Remote Agent' to something like 'Bamboo Remote Agent 1', 'Bamboo Remote Agent 2' by:

  1. uninstalling with the bin/uninstall-ntservcice
  2. editing conf/wrapper.conf to change the service name and display name
  3. reinstalling with the bin/install-nt-service

After doing this you should be able to run multiple agents fine.

like image 2
OnMyWayToGodDontKnow Avatar answered Nov 12 '22 10:11

OnMyWayToGodDontKnow