Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jay Barra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2012

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
Daniel Reiter August 11, 2014

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.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2012

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).

Jay Barra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2012

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.

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2012

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

Jay Barra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2012

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events