PDA

View Full Version : VisBuildCmd doesn't exit when called from CruiseControl.NET


dmurty
09-17-2009, 12:59 PM
Hello, we are using CCNET version 1.4.4.83 and Visual Build Pro 7.2. We have csservice.exe running as a service and we have the following task:
<exec>
<executable>"C:\Program Files\VisBuildPro\VisBuildPro.exe"</executable>
<baseDirectory>D:\Install</baseDirectory>
<buildArgs>/b "DeveloperCompile.bld"</buildArgs>
<successExitCodes>0</successExitCodes>
<buildTimeoutSeconds>3600</buildTimeoutSeconds>
</exec>

Visual Build Completes successfully, according to the log files, but visbuildcmd never exits and there fore the ccnet task times out and fails the build.

What can we do to resolve this issue?

Thanks

kinook
09-17-2009, 04:00 PM
That works ok in our tests. You might try calling VisBuildCmd.exe instead of VisBuildPro.exe. Is the problem specific to your .bld file, or does it also occur with a sample project?

dmurty
09-17-2009, 04:42 PM
So when we change the task to visbuildcmd.exe the log indicates that the build successfully completed by visbuildcmd.exe does not exit. It continues to run. If we use the visbuilcpro.exe then everything works fine and it closes upon success.

Any ideas?

kinook
09-17-2009, 05:48 PM
Not really, but some things to try:
http://www.kinook.com/Forum/showthread.php?threadid=3892