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,294,792
Community Members
 
Community Events
165
Community Groups

No requirements specified for job. This job can be built by any agents.

When using bamboo yaml specs, I can't control to run the build on nominated bamboo agents.  Sometime, it runs on windows agents.

 

No requirements specified for job. This job can be built by any agents.

I have set interpreter as below:

 - jobs:
- scripts:
- '#!/bin/bash'
- make build
interpreter: shell

What should I check and add the right agents as requirements in plan?

1 answer

1 accepted

0 votes
Answer accepted
Foong Atlassian Team Jun 18, 2018

Create custom capabilities (example: linux.os) in all linux agents and then configure YAML to use that capability.

https://docs.atlassian.com/bamboo-specs-docs/6.3.0/specs-yaml.html#job-requirements

I finally fixed with a label which is used for `Exists` only, not for equals, or matches

 

it is mentioned in above document: 

 

Implicit match type for requirements is Exists.

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...

933 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