PDA

View Full Version : psexec conditional build


draymond
10-04-2007, 01:44 PM
Visual Build Professional 6.1
Windows XP

Using psexec I can successfully build something remotely using the following command.

psexec \\MACHINENAME -u DOMAIN\USER -p PASSWORD "c:\Program Files\VisBuildPro6\VisBuildCmd.exe" "c:\BuildScripts\PRODUCT.bld"

Is it possible to only run particular groups of actions via the command line?

or

Can we pass a macro value via the command line that will fulfill the conditional build rules?

kinook
10-04-2007, 01:54 PM
Yes.
http://www.visualbuild.com/Manual/consoleapp.htm
http://www.visualbuild.com/Manual/buildrules.htm

You could also use the VisBuildPro project action to invoke VisBuildCmd remotely via psexec.
http://www.visualbuild.com/Manual/vbpremotetab.htm
http://www.visualbuild.com/Manual/vbpparameterstab.htm

There have also been several bug fixes and enhacements since v6.1 related to calling psexec.
http://www.kinook.com/Forum/forumdisplay.php?forumid=12