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 votes

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
Community showcase
Published an hour ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

32 views 0 3
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