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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,206
Community Members
 
Community Events
184
Community Groups

How to set a requiremet for an executable in a Bamboo.yml file?

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.

1 answer

1 accepted

3 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 26, 2019

Hi @Tempfli Gellért

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:

  1. Go to Admin >> Overview >> (Server capabilities or agent capability)
  2. Hover the mouse pointer over the selected capability
  3. Check the name on browser status bar
    Please notice that "+" (plus signs) need to be changed to spaces.

    Screen_Shot_2019-02-26_at_18_11_53.png

Please let me know if you have questions on this.

Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 27, 2019

Excellent response, many thanks @Daniel Santos!

Like Daniel Santos likes this
Like Daniel Santos likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 27, 2019

You are welcome, guys!

Like Tempfli Gellért likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events