I have done this in my build script by having a master variable (macro) which can be "Full", "Test" or "Nightly". I then place all the steps for the various sections of the build into groups and add conditions to the group that checks the value of the master build type macro. That way I have a single script that can perform multiple roles; rather than maintaining multiple "similar but not the same" scripts.
|