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

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

Bill Wang June 17, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
June 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

Bill Wang June 20, 2018

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
AUG Leaders

Atlassian Community Events