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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot