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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

173 views 1 3
Join discussion

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