When setting up the build definition for FinalBuilderBuild.xaml you can currently specify the parameters "Flavour", "Platform" and "Project file".
I have a need for passing additional information from TFS to FB. As "Build Flavour" is not really used in FB I am currently using this param to pass a comma separated list of additional parameters. I would however be nice to have some way of doing this "properly" .
The optimal way would be to be able to specify values for actual variables in the FB script. Something like what can be done for the "Include Project" action in FB. (don't know if this is even possible...).
Another simpler solution would be to just provide a number of custom paramaters like "Param01, Param02 ... Param10".
Also allow me to suggest that you pass the TFS variable "SourceDir" on to FB. Currently the "SourceRoot" is obtained by parsing the "Project to Build" parameters. However this project might be in a subfolder of the workspace so it would be nice to have the actual TFS source root as a parameter as well.
Hi Lars, I’ll look into passing optional parameters - specifying variables from the FB project could be done, but I have a feeling it would be an inordinate amount of work. Your second suggestion of an fixed number of custom parameters should be fairly easy though.
In terms of SourceRoot - the current behaviour (based on the project’s location) is done to maintain some backwards compatibility with FB projects created for TFS2008. I can see the benefit of have the absolute TFS root dir on the build server though, so I’ll see how easy it is to get out of TFS and pass to FinalBuilder. I imagine the hardest part will be coming up with a variable name that makes sense