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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.