Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass multiple parameters upon installation of bamboo remote agent

Monika Leslivania
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 12, 2025

Hi,

newbie in multiple bamboo remote agent installation here.

I'm curious on how to install multiple remote agents without modifying the wrapper.conf file in Windows. According to How to install multiple Bamboo remote agents on Windows machine | Bamboo | Atlassian Support, we can specify wrapper.name and wrapper.displayname as parameter. but when I try the following command here, it will report FATAL status with following error msg: The argument 'wrapper.name' is not a valid property name-value pair.

java -Dbamboo.home="C:\blabla\bamboo-agent-home-2" -Dwrapper.name="bamboo-remote-agent-2" -Dwrapper.displayname"Bamboo Remote Agent 2" -jar atlassian-bamboo-agent-installer-10.2.3.jar http://servername:port installntservice

When I tried to comma delimit the parameters, it will give me a very long file name consisting of wrapper name and wrapper display name as the agent directory

java -Dbamboo.home="C:\blabla\bamboo-agent-home-2",wrapper.name="bamboo-remote-agent-2",wrapper.displayname"Bamboo Remote Agent 2" -jar atlassian-bamboo-agent-installer-10.2.3.jar http://servername:port installntservice

Please shed some light on this. Thanks in advance!

1 answer

0 votes
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2025

Hello Monika,

Welcome to Atlassian community.

wrapper.displayname and wrapper.name are not JVM parameters. Hence I don't think so you can pass them as below. 

-Dwrapper.name="bamboo-remote-agent-2" -Dwrapper.displayname"Bamboo Remote Agent 2"

 Also as you are using installntservice in the command, these properties have to be modified before the agent is installed as service. 

Read the below warning in wrapper.conf file

#********************************************************************
# Wrapper Windows Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.

You'll have to follow the steps defined at https://support.atlassian.com/bamboo/kb/how-to-install-multiple-bamboo-remote-agents-on-windows-machine/ to install multiple agents on the same server which needs wrapper.conf modification when the folders are created.

You'll have to use the install command which will create the folder structure and the modify the wrapper.conf and then install it as a service post that.

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events