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

194 years of downtime: looking back on incident data from 2018

Statuspage customers logged more than 194 years of collective incidents in 2018. That’s a whopping 87% increase from the  104 years logged in 2017 , and we aren’t even through December yet....

35 views 1 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