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 Wednesday in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

65 views 0 0
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