#1
|
|||
|
|||
Visual Build and Hudson
Is anyone out there using VisualBuild with Hudson? if yes than could you please share your experiences?
|
#2
|
|||
|
|||
#3
|
|||
|
|||
So that command is enough to drive the build using Hudson and VisualBuild?
|
#4
|
|||
|
|||
It worked in our tests.
|
#5
|
|||
|
|||
Hi,
I am getting following error while running the VBP 7 build script with hudson Started by user anonymous Building on master Cleaning the workspace because project is configured to clean the workspace before each build. [Projects] $ cmd /c call C:\Users\pxa\AppData\Local\Temp\hudson677262359623 2071190.bat d:\Hudson\Projects>"D:\VisBuildPro7\VisBuildCmd.ex e" /b "C:\Build_Scripts\abc_Build.bld" The system cannot find the path specified. d:\Hudson\Projects>exit 3 [DEBUG] Skipping watched dependency update for build: SapphireBuilds #43 due to result: FAILURE Finished: FAILURE |
#6
|
|||
|
|||
path exists cause I tried to run the path
d:\Hudson\Projects>"D:\VisBuildPro7\VisBuildCmd.ex e" /b "C:\Build_Scripts\Sapphire_Build.bld" manually , it worked fine?..any clues? |
#7
|
|||
|
|||
Hudson is calling abc_Build.bld, while the direct call is calling Sapphire_Build.bld?
|
#8
|
|||
|
|||
Sapphire_Build.bld should have been replaced by abc.bld, I didnt want to display sapphire_build.bld..
|
#9
|
|||
|
|||
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 '"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. |
#10
|
|||
|
|||
It works for me now, I am not really sure what made it work...I didnt change anything just rebooted my windows server.
Thanks for your prompt reply... |
|
|