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

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
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

664 views 2 7
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