Associate Agents based off of host name?

I was wondering if there was a way to force Bamboo to associate agents based off of the agent's hostname rather than it looking to see if the agent ID exists or not.

What I noticed is that if we reformat a bamboo agent, and set it back up with teh same host name, it gets added as a new agent within Bamboo and I have to re-declare all of the capabilities for that agent so it can be used again, and delete the original. I noticed there is a config file that the .jar file creates that if I save that, and pop it back into the same directory after the cold start, it will re-associate just fine, but I find that process very messy for us.

If i could somehow tell the bamboo server to identify an agent based off of it's hostname rather than the ID, then that'd help alot. I know this would prevent running multiple agents on the same box, but we don't need to do that.

Also another question, is tehre a list of all the java arguments that can be used for an agent? like the -Dbamboo variables? I've seen 2-3 different ones while searching, but can't seem to find a compiled list anywhere... thanks!

1 answer

1 accepted

0 vote

1. No, you can't associate them by name. Modifying the agent id in bamboo-agent.cfg.xml is the only option if you want to erase agent data and inherit the settings.

2. I don't think there's a list. The variables are used mostly during support cases debugging, normally you shouldn't need to use them (except for the documented ones).

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,801 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