虽然使用启动方法启动代理程序,让jenkins作为Windows服务将此Windows从属服务器控制,但出现以下错误:
[2019-02-18 17:18:03] [windows-slaves] Connecting to XX.yy.zz.aa
Checking if Java exists
java -version returned 1.8.0.
[2019-02-18 17:18:12] [windows-slaves] Copying jenkins-slave.xml
[2019-02-18 17:18:12] [windows-slaves] Copying slave.jar
[2019-02-18 17:18:12] [windows-slaves] Starting the service
ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins
org.jinterop.dcom.common.JIException: Service Logon Failure
at org.jvnet.hudson.wmi.Win32Service$Implementation.start(Win32Service.java:149)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor560.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.kohsuke.jinterop.JInteropInvocationHandler.invoke(JInteropInvocationHandler.java:140)
Caused: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy79.start(Unknown Source)
at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:342)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:285)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
有人可以帮助我进一步进行下去吗?
关于, Balakrishna K
答案 0 :(得分:0)
服务登录失败。您可以在“ Windows服务”部分中为jenkins服务提供凭据之后尝试