How to set a requiremet for a job in a Bamboo.yml file? I've read the article here: https://docs.atlassian.com/bamboo-specs-docs/6.3.0/specs-yaml.html?_ga=2.72707411.1568023111.1550773500-906756097.1547204974#job-requirements
But it does not help at all.
When I write the name of an executable bamboo tells no agent can run this test (but in the list of the executables there are agents with that capability).
E.g.:
requirements:
- 'Doxygen (Linux)'
Where Doxygen (Linux) is the name of an executable.
You need to use the full capability key to make it work.
When the requirement is configured through the UI, even though there is just a name there, it has the right key loaded in the background (DB). When using this type of configuration in specs you need to provide the right key.
I'll open a request to improve this feature so you don't need to use the full key name to make it work. [BAM-20322] Setting a requirement in YAML specs leads to no agent can build this job.
This is how you get the full key:
Please let me know if you have questions on this.
Excellent response, many thanks @Daniel Santos!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Daniel Santos!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, guys!
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.