windows - Remotely running "vmrun command" on server machine from jenkins -



windows - Remotely running "vmrun command" on server machine from jenkins -

i have windows 7_x64 virtual machine on server machine running on windows server 2008 r2. want run vm jenkins (ci tool executes batch file, running on same server). using vmrun utility so. when run

vmrun -t ws -gu *** -gp *** start "vmx file path.vmx"

this executes fine on server command prompt (locally). when seek exceute same of client machine (by visiting jenkins site) get

error: there error in communication

after troubleshooting, can vmrun command not responding whenever evoked remotely. confusing me, because have jenkins running commands installed on same server. running job lean client. how create difference?

could help me troubleshooting issue? thanks!

for reference:

*server machine(host): windows server 2008 r2

*virtual machine(guest): windows 7 x64

*jenkins : installed on same server (host)

*client : remote windows machine, accesses jenkins instance browser , triggers job

*problem/error : vmrun commands dont execute.

jenkins not execute on "client" (i.e. machine browser accessed jenkins instance). jenkins execute on master (what called "server machine") or slave nodes.

now, there can several differences between running command local command prompt (on server) , through jenkins. primary difference jenkins runs under separate session, under separate user, may have different permissions, depends on how have installed , configured jenkins session.

to identify if there environment variable differences, type set on local command prompt, , execute jenkins set in build step. compare two. other jenkins specific variables, else should same.

also, verify jenkins user (the 1 running service) has permissions whatever doing.

windows ssh jenkins remote-access vmrun

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -