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.
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