05-30-2015, 07:48 AM
Also, do you run the Jenkins agent as a service, or manually?
A service account may have some paths set differently, so if you run as a service, try opening an admin cmd window and execute the script from there.
A service account may have some paths set differently, so if you run as a service, try opening an admin cmd window and execute the script from there.