Continua variables to FinalBuilder - FinalBuilder accepts one, ignores the other

In Continua, we have the variables 
CI_BUILD_VERSION$Build.BuildNumber$Expression
CI_RELEASE_VERSION$Repository.PSDPrograms.LatestChangesetId$Expression

In the FinalBuilder action, we pass CI_BUILD_VERSION to FinalBuilder variable BUILD_VERSION, and ditto for RELEASE_VERSION
and it logs correctly.

13:28:48       Variable [BUILD_VERSION] set to [636]
13:28:48       Variable [RELEASE_VERSION] set to [22794]

In the FinalBuilderScript, we assign the variables to the version property set, but the BuildVersion value appears to be ignored.
Why?

See log below with red/green highlights.

13508_setpropvalues


13:28:25      Stage: Applications
13:28:37       Server To Agent Workspace Sync
13:28:37       Started syncing files from the server[localhost] to the agent [DEV10002]
13:28:37       Finished syncing files from the server [localhost] to the agent [DEV10002].
13:28:48       Delete [Development PSD Applications]
13:28:48       Delete action completed successfully
13:28:48       FinalBuilder [PSD Applications]
13:28:48       Parameters
13:28:48       Working Directory: D:\Build\CI_WS\Ws\990\Source\PSDPrograms\Build
13:28:48       Executable: C:\Program Files (x86)\FinalBuilder 7\FBCMD.exe
13:28:48       Arguments: /B -@ /vBUILD_VERSION=636;RELEASE_VERSION=22794; /pD:\Build\CI_WS\Ws\990\Source\PSDPrograms\Build\Applications.fbz7
13:28:48      
13:28:48       Variable [BUILD_VERSION] set to [636]
13:28:48       Variable [RELEASE_VERSION] set to [22794]

13:28:48       D:\Build\CI_WS\Ws\990\Source\PSDPrograms\Build\Applications.fbz7
13:28:48       Main
13:28:48       PropertySet define [ VersionNumber ]
13:28:48      
13:28:48       PropertySet assign properties [VersionNumber ]
13:28:48       Setting 7 property values on PropertySet PSDVersion
13:28:48       Property AutoUpdateFileVersionString set to 1
13:28:48       Property AutoUpdateProductVersionString set to 1
13:28:48       Property BuildVersion set to 0
13:28:48       Property LinkProductVersion set to 1
13:28:48       Property MajorVersion set to 1
13:28:48       Property MinorVersion set to 2
13:28:48       Property ReleaseVersion set to 22794
13:28:48      
13:28:48       Build PSDServer
13:28:48       Compiler selected is : C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\bin\dcc32.exe
13:28:48       Generating Resource File…
13:28:48       Including ICON File

Added a dummy variable to the FB7 project and made sure that Continua passed it as last param to FB7. Problem solved.
Parameter passing bug in Continua? (Semicolon behind last param?)
Parameter grabbing bug in FB7? (ver.7.0.0.2671)

Hi Lars,

Just attempted to reproduce the error here locally. Sadly I haven’t had any luck, the variables are passed correctly in each case. Does the error appear with version 7.0.0.2995 of FinalBuilder? Also what version of Continua CI are you currently on?

Also out of interest how are the FinalBuilder variables defined? This might point to something else going on.

Upgraded Continua yesterday to latest version. Will test with newest Finalbuilder.

All variables (AVAR is my dummy workaround)

13508_variableseditor
Each of them is configured identically, apart from the default value

13508_setvariable

and as mentioned before, they are updated like this.

13508_setpropvalues2

Hi Lars

Not seeing anything unusual there. What repository type are you using on Continua CI? $Repository.PSDPrograms.LatestChangesetId$ will only return an integer for repositories that use integers for revisions numbers (perforce, subverison & surround from memory). On git and mercurial they use guids.

We’re using SVN, so we currently get a five digit number. If we swap SCS, we’ll have to stuff the Change Set Id somewhere else.

After adding the dummy AVAR and ensuring it is the last value passed to FB7, it started working.
I’m inclined to think it was something in FB7, as the value appeared to be passed correctly.