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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo specs yaml: Create different plans

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

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
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

670 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you