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

Bamboo specs yaml: Create different plans

Dominic Lehle April 16, 2018

Hey there, 

i think that the current documentation on yaml specs lacks a lot of information. 
So currently i see that i can create one yaml file in my repo which works fine and creates a plan and runs that whenever changes in the repo happen. 

No my questions are: 

how can i define triggers in the yaml spec ?
how can i define several plans for one repo ? 

i currently have a check for code lint issues during a merge request which works fine. 
but now i want to run e.g. integrationchecks after the code has been merged. What is the proper way or is it not possible to define several plans and triggers in a yaml spec ? 

1 answer

1 vote
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2018

Hi Dominic,

I'm afraid it is still not possible to define triggers using YAML specs, all currently available library are listed in the Specs YAML documentation

You can define several plans using the same repo only if you put the YAML file in different branches and set these other branches to scan for YAML specs code.

For your use case, I'm pretty sure it will be more appropriate to use Bamboo Java Specs

Thank you.

best,
Gabriel Ribeiro

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events