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:
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.