How do I get a remote agent to send its name to the bamboo host

We are deploying a set of remote agents, but they appear in the Agents page as their hostname. is there a way (maybe the file) for the remote agent to set a more friendly name (such as 'QA Build host engine 2')?

1 answer

2 votes

You can change the agent name by editing <name> tag in bamboo-agent.cfg.xml located in Bamboo agent home.

Thanks - Can I set this from the installer rather than post editing the file?

You can try supplying a partially filled-in bamboo-agent.cfg.xml, but I think it's better to edit it post-install.

The file is only created after bamboo is started for the first time, so editing it post install is not possible. If a file with only the following in is created, will bamboo fill in the rest?






Yes, that's what I've meant by a partially filled-in file.

Of course, you can also use the Edit link on the agent page to rename the agent.

A problem with pre-creating the file ahead of running the bamboo is that bamboo no longer works out the build directory - is just crashes reporting that there wasnt one. It seems the only field that the agent sets is the agent identifier.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

2,941 views 8 7
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you