Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-17-2012, 03:10 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
Visual Build and Hudson

Is anyone out there using VisualBuild with Hudson? if yes than could you please share your experiences?
Reply With Quote
  #2  
Old 10-17-2012, 06:42 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/VisBuildPro/Manual/continteg.htm
Reply With Quote
  #3  
Old 10-17-2012, 07:17 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
So that command is enough to drive the build using Hudson and VisualBuild?
Reply With Quote
  #4  
Old 10-17-2012, 11:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It worked in our tests.
Reply With Quote
  #5  
Old 06-07-2013, 05:34 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
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
Reply With Quote
  #6  
Old 06-07-2013, 05:35 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
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?
Reply With Quote
  #7  
Old 06-09-2013, 03:11 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Hudson is calling abc_Build.bld, while the direct call is calling Sapphire_Build.bld?
Reply With Quote
  #8  
Old 06-10-2013, 12:31 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
Sapphire_Build.bld should have been replaced by abc.bld, I didnt want to display sapphire_build.bld..
Reply With Quote
  #9  
Old 06-10-2013, 06:53 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
  #10  
Old 06-10-2013, 07:02 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:18 AM.


Copyright © 1999-2023 Kinook Software, Inc.