Variables/parameters for scheduled builds?

Hi all,
Evaluating FB at the moment, and I can’t figure out a way to set a specific variable for a scheduled build. It seems like a pretty basic thing to want to do: Say you have three very similar, but complex builds, A, B and C. You want to run build A every night, build B every friday, etc. Now, I really want one build project parameterised by the build type, due to their similarity. So, how can I tell FB to schedule a given type for a given time/date?

I think it can be done on the command line, passing variable values, but that means using an external scheduler to run the command line. Or perhaps something a bit kludgy like getting FB to schedule-run a script that actually calls itself on the command line! Is there a more elegant solution?

Many thanks,
Steve

Steve,

The way achieve this is to pass variables via the command line parameter. The schedule wizard doesn’t expose this at the moment, so after you create a scheduled build you need to go to Control Panel | Scheduled Tasks and then add the /v= parameter yourself.

Here’s the command line help for the IDE:
https://www.finalbuilder.com/finalbuilder/Help/HTML/commandlineinterface.htm

And FBCMD:
https://www.finalbuilder.com/finalbuilder/Help/HTML/fbcmd.htm

cheers,
.t8

Thanks very much, that solution is pretty good.

To keep things simple we used a different method.1. Create a New Project.2. Add Include Project Task3. Set Variables to desired values.4. Save5. Schedule new project.

That’s perfect - should have thought of looking for a task like that. Thanks heaps!