How to preconfigure remote bamboo agent exectuables with bamboo-capabilities.properties?

I'm trying to preconfgure remote agents on a machine template so I can clone it out easily when the agents register with Bamboo. I have my bamboo-capabilities.properties file in the bin directory of the remote agent where the agent code runs from and when it does register with Bamboo I see listed the properties I told it about but Bamboo is claiming that the agent can't run any jobs that it should.

So I have several lines similar to this

system.builder.Command.NSIS=C:\\Program Files\\NSIS\\makensis.exe
system.builder.Command.doxygen=C:\\Program Files\\doxygen\\doxygen.exe

And I see when registered that the agent came up with those properties in it automatically when registering. But Bamboo thinks that the agent does not meet the requirements of any plans.

Is there a separate tag for registering exectuables?

https://confluence.atlassian.com/display/BAMBOO/Configuring+remote+agent+capabilities+using+bamboo-capabilities.properties

edit:

In the capabilties page there are now duplicates for the capabilities I configured to be detected automatically.

2 answers

0 vote

What do the Job requirements say? It should highlight the unmatched requirements.

Also which version of Bamboo is it? If it has tasks, you're probably better off defining inline script tasks that would just execute these commands (you can use the capability in the script body, it will be substituted).

Bamboo 4.0. The tasks are exectuable tasks that I am trying to launch.

I have other agents that can run it, but I have them disabled while I was trying to get this template machine working. It shows the disabled agents as capable or running the plans.

Does it work if you restart the agent after it performs the initial registration?

No, restarting the agent did not fix it. For now I'll just have to manually add all of the capabilties and not use that file.

I had the same problem.

https://confluence.atlassian.com/display/BAMBOO/Configuring+remote+agent+capabilities+using+bamboo-capabilities.properties

The comment from Ramonski (6. August) fixed the problem in my case. Try to make a space before and after the equal sign.

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 Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
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