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 bamboo-capabilties.properties file) for the remote agent to set a more friendly name (such as 'QA Build host engine 2')?

1 answer

1 vote

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?

<configuration>

<agentDefinition>

<name>my-agent-name</name>

</agentDefinition>

</configuration>

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
Read article

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