Friday, February 18, 2011

Bullseye error while executing through hudson/jenkins job on windows

I was unable to execute any commands of cov01.exe on windows through hudson . whereas form the systems command prompt all commands worked fine. Through the hudson job , I was getting an error

Exception: cannot determine home directory

I could not find out the exact solution to this. But I did find a workaround. I had to set a few environment variables

set APPDATA=C:\Documents and Settings\build\Application Data
set HOMEDRIVE=C:
set HOMEPATH=\Documents and Settings\build

The problem seems to be because the Bullseye needs a home directory to start its operations which for some strange reason was not being set from the hudson job.

No comments:

Post a Comment