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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.