PDA

View Full Version : Issue executing VBP script from Jenkins


saurabh
02-27-2012, 11:10 AM
Hi,

I have written a build script for doing full build for one of my projects. It compiles some 290 VB6 projects and some 30 .net projects.

When I do a full build from Jenkins, we get few display issues (like few dialog boxes being chopped off etc).
But when we do a full build from Visual Build Pro (essentially shift+F7), it throws no such issues.

Next I ran a full build from command line and use the same command which I use from Jenkins. But it builds all good from command line too.

Please let me know if this is a known issue. What could be going wrong here.
I need to host the build on Jenkins. Can not run it stand alone from VBP.

Thanks,
Saurabh

saurabh
02-27-2012, 11:13 AM
From Jenkins I call the build script using Execute Windows batch command:

"c:\Program Files\VisBuildPro7\VisBuildCmd.exe" "<Path of build_scripts directory>\FullBuild_PM_Build.bld"

Used the above command only to build from command prompt.
But the results of the two builds are different.
Good from command prompt. Bad from Jenkins.

Please advise.

Thanks,
Saurabh

kinook
02-27-2012, 11:36 AM
This is not a known issue, and I don't know what could be different about Jenkins to cause that.

saurabh
02-27-2012, 11:43 AM
I have used Jenkins to setup builds for other projects I work for. And I use precisely the above command only to execute my VBP scripts.
Only in this case (or on this server?) I'm having this issue.