It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

1 vote
Answer 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
TAGS
Community showcase
Published in Bamboo

Cannot save a repository using Chrome v83 and other Chromium based browsers such as Edge

Hello Bamboo Community, I'm Jey from Bamboo Support team. If you have upgraded your Chrome browser to version 83 recently, it is observed that the save operation just spins and never completes w...

395 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you