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