View Single Post
  #9  
Old 06-10-2013, 06:53 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,720
Not sure, I guess one of those paths is not valid on "master"? The sample command from the Jenkins/Hudson section of http://www.kinook.com/VisBuildPro/Manual/continteg.htm worked properly in my tests on Windows 7 x64 w/ Visual Build Pro 8.4 x64 and Hudson 3.0.1 installed.
Code:
Started by user anonymous
[workspace] $ cmd /c call C:\Users\xyz\AppData\Local\Temp\hudson3147722429993221264.bat

C:\Users\xyz\.hudson\jobs\test\workspace>"C:\Program Files\VisBuildPro8\VisBuildCmd.exe" /b "C:\Program Files\VisBuildPro8\Samples\RegEdit.bld" 

VisBuildCmd (x64), Version 8.4.0.0
Copyright (C) 1999-2013 Kinook Software, Inc. All rights reserved.

6/10/2013 5:50:26 PM: Starting Build: 'C:\Program Files\VisBuildPro8\Samples\RegEdit.bld'
6/10/2013 5:50:26 PM: Building project step 'Create Values'...
6/10/2013 5:50:26 PM: Building project step 'Set Default'...
Created Temporary macro 'NUM'
6/10/2013 5:50:26 PM: Building project step 'Create String Value'...
Registry value 'HKEY_CURRENT_USER\Software\Kinook Software\Visual Build Professional 8\Test Key\StringVal' created
6/10/2013 5:50:26 PM: Building project step 'Read int value'...
Reading registry value 'HKEY_CURRENT_USER\Software\Kinook Software\Visual Build Professional 8\Test Key\IntVal'...
Registry value not found, using default
6/10/2013 5:50:26 PM: Building project step 'Show the value of 'IntVal''...
Before, IntVal equals '0'
6/10/2013 5:50:26 PM: Building project step 'Create DWORD Value'...
Registry value 'HKEY_CURRENT_USER\Software\Kinook Software\Visual Build Professional 8\Test Key\IntVal' created
6/10/2013 5:50:26 PM: Building project step 'Read int value again'...
Reading registry value 'HKEY_CURRENT_USER\Software\Kinook Software\Visual Build Professional 8\Test Key\IntVal'...
6/10/2013 5:50:26 PM: Building project step 'Show the update value'...
IntVal now equals '44'
6/10/2013 5:50:26 PM: Building project step 'Delete Values'...
Step 'Delete Values' build rule evaluates false: %DELETE% is defined
6/10/2013 5:50:26 PM: Step skipped
6/10/2013 5:50:26 PM: Building project step 'Del String Value'...
Step 'Delete Values' build rule evaluates false: %DELETE% is defined
6/10/2013 5:50:26 PM: Step skipped
6/10/2013 5:50:26 PM: Building project step 'Del DWORD Value'...
Step 'Delete Values' build rule evaluates false: %DELETE% is defined
6/10/2013 5:50:26 PM: Step skipped
6/10/2013 5:50:26 PM: Build successfully completed (elapsed = 00:00:00).

C:\Users\xyz\.hudson\jobs\test\workspace>exit 0 
Finished: SUCCESS
When specifying an invalid exe, I got:

'"C:\Program Files\VisBuildPro8\VisBuildCmdx.exe"' is not recognized as an internal or external command,
operable program or batch file.

When specifying an invalid bld file, I got:

VisBuildCmd (x64), Version 8.4.0.0
Copyright (C) 1999-2013 Kinook Software, Inc. All rights reserved.

Error loading project file: Failed to open 'C:\Program Files\VisBuildPro8\Samples\RegEditx.bld': The system cannot find the file specified.

Both of those are different than your error message, so I'm not sure which path Hudson is complaining about.
Reply With Quote