Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,419
Community Members
 
Community Events
165
Community Groups

Is it possible to auto detect remote agent OS to use as requirement of a job?

I am trying to create a job that requires stages to build on both Linux and Windows.

Ideally I don't want to "dedicate" agents to the jobs, and instead I would like the jobs to auto select an available agent with the correct OS.

How can this be achieved?

1 answer

1 accepted

0 votes
Answer accepted

Hello @Matthew McAtamney-Greenwood, welcome to Atlassian Community!

There is no embedded method that would allow Bamboo to identify the host Operating system of the Agent. But you can assign custom "Operating system" capabilities to your Agents and set them as Requirements on your Jobs.

You can also make the Agent report its capability back to Bamboo by using a bamboo-capabilities.properties file:

In case you are using Elastic Agents:

 

Regards,

Eduardo Alvarenga
Atlassian Support APAC

This is now what I have done thanks.

However, it would be nice if it was possible to be able to add requirements that were based on the already know "system properties" of the agents as well as the capabilities.
As that would remove the need for me to make custom capabilities for information that is already known.

(see: Agent System Properties: "Operating System & Operating System Architecture)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

961 views 3 8
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