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
Community Members
Community Events
Community Groups

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.

Gabriel Ribeiro


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

912 views 3 8
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