PDA

View Full Version : VisBuildCmd Error in 6.2


mvermeulen
10-30-2006, 09:16 AM
I have started getting an error when running VBP as a scheduled task as opposed to running VisBuildPro.exe directly. It seemed to start about the time I updated one of my build servers to 6.2.

The error occurs when running the step below.

<step action='Run Program'>
<command>%doscmd% subst B: /D</command>
<continueonfail type='11'>-1</continueonfail>
<failsubroutine>BlankFailureStep</failsubroutine>
<indent type='3'>1</indent>
<name>Delete Development Drive Mapping</name>
<outputfrom type='3'>1</outputfrom>
</step>

The result of the step is below. I have it checked to continue after failure but it terminates at this point on will not continue on.

<step action='Run Program' type='0' start='10/30/2006 9:12:41 AM'>
<name>Delete Development Drive Mapping</name>
<output><![CDATA[Invalid parameter - B:

Process completed with exit code 1
]]></output>
<status code='1'>Failed</status>
</step>

Again, I can bring the GUI up and run this successfully.

HELP!

mvermeulen
10-30-2006, 10:41 AM
OK... Why is it you always discover the problem 30 minutes after you give up and create a post?!

Problem resolved. Dual versions of VBP on the system. When bringing up the project in the GUI, it launches using the latest version which is 6.2. The scheduled task was not updated to use the VisBuildPro6 path and so was using the older version. Step differences where erroring out with the older version because of some small changes that are not available.

Hope this helps someone.