I am trying to install Jenkins slave service after starting the slave via web start. I get the following error when it tries to install on windows 10 and windows 8.1.
[JenkinsWorkDirectory]$ c:\JenkinsWorkDirectory\jenkins-slave.exe install WMI.WmiException:AccessDenied at WMI.WmiRoot.ClassHandler.Invoke(Object proxy, MethodInfo method, Object[] args) at WMI.Win32ServicesProxy.Create(String, String, String, ServiceType, ErrorControl, StartMode, Boolean, String, String, String[]) at winsw.WrapperService.Run(String[]_args,ServiceDescriptor descriptor) at winsw.WrapperService.Main(String[]args).
I can install the slave service without any issue on win 7. Any idea why is this happening or is it some limitation of Jenkins or am i missing some dependency?
My jenkins version is 1.655 and using chrome browser when installing. Jenkins master is running on windows 7. Thanks, Daniel
Since each slave runs a separate program called a "slave agent" there is no need to install the full Jenkins (package or compiled binaries) on a slave.
To run Jenkins service using a local or domain user, specify the domain user name and password with which you want to run Jenkins, click on Test Credentials to test your domain credentials and click on Next.
I found another way to get the slave to install.
The trick is to do it while running as an administrator. This installs the service running under localsystem.
Additionally, if you're like me and you need your jenkins routines to hit another machine, you'll need to change the service to run as a user with permission (network or otherwise) to do the task you want done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With