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')?
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try supplying a partially filled-in bamboo-agent.cfg.xml, but I think it's better to edit it post-install.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.