I found the problem. For whatever reason, the drive that Jenkins is on is not permitted to access the wise script or the Wise compiler, although I'm not sure which. Since the Wise script is pulled out of subversion into the Jenkins workspace, I have to think it is the compiler. I found the problem by installing cruisecontrol and trying to see if that program (also java) was able to compile it and I got this error message:
java.io.IOException: Cannot run program "C:\Tools\cruisecontrol-bin-2.8.4\apache-ant-1.7.0\bin\ant.bat": CreateProcess error=5, Access is denied I don't know why Jenkins didn't report the same error (C:\Tools is the mounted drive). Anyway, I moved all the components to the same drive and it works now. On Tue, Feb 19, 2013 at 1:30 PM, Eric Black <[email protected]> wrote: > Hi, > > I'm having a problem compiling a Wise Installation Studio script from > Jenkins. It sounds like the same problem described here: > > http://jenkins.361315.n4.nabble.com/Anyone-use-Hudson-to-build-wise-installation-projects-td376973.html > > but I'm already using the '/s' option. The program just hangs. The > command I'm running on Windows XP, is > > "C:\Program Files\Altiris\Wise\WiseScript Package Editor\Wise32.exe" > /c /s "c:\Tools\Jenkins\jobs\WiseInstall_test\workspace\MCMG2\Install\WISE > Full Install\XPFull.wse" > > From task manager I see it gets stuck after 30 bytes read and 25 bytes > written. I stripped out everything from the Wise script until there is > only a 'Set variable' command. The command works fine from a command > shell, and also from a cygwin window (with the paths adjusted). Within > Jenkins, I tried using a batch script, a nant script, and a cygwin > script, but in all cases, the Wise compilation just hangs. I have > tried everything I could think of, but I am not a Windows guru, so any > advice would be appreciated. > > Thanks, > Eric -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
