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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

141 views 0 9
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