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,254,211
Community Members
 
Community Events
164
Community Groups

Best practice build code variants

Hi, 

we're building mulitple variants of our products using code switches. At the moment we have one build plan to build all variants in a row. if one fails we need to go to the log file and see whcih and why the variant failed. I'd like to change this to have one plan per variant. since this would be a nightmare to do it via the web gui i'd like to use either Java Specs or Yaml. I would prefer yaml over java. 

Is it possible to generate mutiple plans in one repo stored spec so if i change something in my config, that all plans are updated?

 

Thanks in advance!

Regards, 

Oliver

1 answer

0 votes

Hi Oliver,

It appears you can do this, however, you can only link 1 Specs repo to a build at a time but you can generate as many builds from a single plan as you’d like.

Cheers,

Branden

Hi, i played a little bit with YAML file. 

Producing multiple jobs is not a problem - but since they are running parallel this is not a good idea with hundreds of code variants.

 

Producing multiple stages is also not a problem, but since they run sequentally the first faild job stops the chain.

 

The best way would be to create multiple plans from a yaml file. 

Is this possible and if yes, how?

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
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...

660 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