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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

70 views 0 6
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