VMware Communities
dhimmi
Contributor
Contributor

Vmware Workstation & Hudson Build Server

Hello,

I'm trying to use the vmrun commandline tool from an build job from Hudson. There are different options to install a Hudson Buildserver. I tried to install it as a Windows Service and currently it is running on Tomcat 7 as an web appilication. I always get the following error when I try to execute statements with vmrun:

For example:

%vmrun% -T ws start %pathToCompilerVM%

Unable to connect to host.
Error: Unrecognized errcode

If I execute statements directly on Windows commandline, they run without problems. Path variables, user/service rights (and even the "Allow service to interact with desktop" option for services) are set correctly. If I try to execute simple statements (creating a folder, deleting files) in a job, everything works fine. Does anyone have an idea why a vmrun call fails? We also tried to set up a build server with Virtualbox and it is running without any problems until now. At the moment I'm working with VMware Workstation 7.1.4 build-385536.

Thx in advance

0 Kudos
1 Reply
dhimmi
Contributor
Contributor

If someone encounters the same problem, here is the solution..... I had this line in my batch:

set user="ABC"

After I renamed it, the build job worked without that strange unknown error....

0 Kudos