Set finalbuilder property set

Hi Vincent,

I was trying to active this:

ContinuaCI Build Version = 6.$Server.Now.Month$.$Server.Now.Year$.$Build.BuildNumber$

   Stage -> Action Finalbuilder -> variables -> CIBUILDVERSION = $Build.Version$

The finabuilder script has the follow:

  String Variable CIBUILDVERSION

  An compile delphi app action

Now the question is how to set this compile delphi app action to use the version stored in CIBUILDVERSION variable ?


I hope this is clear now. I couldnt find any action in finalbuilder to load the contents from a variable to a propertyset.


Any tips on how to accomplish that ?

I'm not Vincent

Hi Joel I thought about that to but this way we have to pass one variable per version attribute right ? so it will have %ReleaseVersion%, %MajorVersion%, %MinorVersion%, %BuildVersion% ...

There should be an simple way to set it direct from Continua to the property set, because keep traking of all this variables can lead to errors.

Thanks for the answear and next time I will post it to everyone not direct to Vincent

Yes that’s correct, 1 version per attribute is how we have it set up. Although, you could just pass 1 full version variable ‘1.2.3.4’ and then just use final-builder actions like ‘String SubString’ to break it up into each attribute for the property set.

Cheers

Sure it could be that way to, the only thing is that it would require one variable per substring so it would be a litle more complex then your first solution and the result would be the same, 4 variables inside finalbuilder project + one property set.

The nicest solution would be an action that gets the value from a variable and output the propertyset. so no adtional variables and reducing the mistype or leading to an error.

I agree, that would be great! I keep messing up my variables, and don’t realise until the build fails 30 minutes in

We’ll be looking at ways to improve integration for FB8, for now you will have to pass separate variables, however my hope is in the future you won’t have to pass anything, it will just happen automatically.