Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Matthew McAtamney-Greenwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 9, 2022

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
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2022

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

Matthew McAtamney-Greenwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2022

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
AUG Leaders

Atlassian Community Events