I'm in a critical situation. I'm explaining my problem below. Please have a look on it and suggest me how to get rid of it.
In My windows 7 machine I have installed cygwin and virtual box.
I'm trying to use this machine as a jenkin slave.
In this machine I have a script file which will be run by the Jenkin Slave.
The script file is complex , it perform lots of task. But every task is working perfectly. But in the Script file I have a command
Code: Select all
VBoxManage list vmsI'm getting the following error when Jenkin Slave is trying to run the script -
Code: Select all
VBoxManage list vms
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.
Build step 'Execute shell' marked build as failureI have also tried to connect to the machine from another machine using ssh connection and from there I ran the script file without any problem.
It happens when Jenking is trying to run the script file through Jenking Slave.
Someone please guide me how to sovle the issue.
I have setted VBoxManage in my Sysem Path also.