Can a Bamboo agent automatically detect executables on a system?

We use a fairly standard build across most of our dev / testing servers, including our common tools (debuild, gcc, prove, etc). As far as I can tell, Bamboo requires me to configure each agent that comes online with each of the binaries that are installed that the various jobs will need.

As we grow I can see this maintenance task getting larger & larger, both as we add / replace remote agents and as we add more tasks to each of our plans.

Given that I've already provided a name & path to an executable once (e.g. gcc: /usr/bin/gcc), can Bamboo automatically pick this up on all future agents?

2 answers

1 accepted

If all your agents are the same, you can create a single bamboo-capabilities.properties file that lists all your common capabilities and provide it to the agent at startup.

Awesome, thanks. In my case this will certainly help, though I'm still keen on automated detection.

And if they're not?

@James Dumay [Atlassian] Yeah. Well its not working^^ 

 

echo $PATH

/bin:/usr/bin:/bin
 

cat /root/bamboo-agent-home/bin/bamboo-capabilities.properties
system.builder.command.Docker-Compose /usr/local/bin/docker-compose

The docs don't say how to define custom executables, and I've tried a few things (like system.scons=/usr/bin/scons or system.scons.executable=/usr/bin/scons) but can't make it "go" (they all just end up in Custom). Any hints please?

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 yesterday in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

47 views 1 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