Jenkins重新启动URI崩溃。

时间:2018-06-29 21:38:01

标签: java windows jenkins hudson

当我点击jenkins重新启动网址(ala http://jenkins:8080/restart)时,jenkins启动关机过程,但最终挂起/崩溃。我什至安装了“ safeRestart”插件,它也做同样的事情。有趣的是,“ / exit”有效。

我已经升级了詹金斯(Jenkins),并且所有插件都还没有。

这是我在日志中看到的:

un 29, 2018 4:28:14 PM jenkins.model.Jenkins$23 run
SEVERE: Restarting VM as requested by XXXXXXXXXXXXX
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins cleanUp
INFO: Stopping Jenkins
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins$18 onAttained
INFO: Started termination
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins$18 onAttained
INFO: Completed termination
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins _cleanUpDisconnectComputers
INFO: Starting node disconnection
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins _cleanUpShutdownPluginManager
INFO: Stopping plugin manager
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins _cleanUpPersistQueue
INFO: Persisting build queue
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins _cleanUpAwaitDisconnects
INFO: Waiting for node disconnection completion
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins cleanUp
INFO: Jenkins stopped
Jun 29, 2018 4:28:14 PM jenkins.model.Jenkins$23 run
WARNING: Failed to restart Jenkins
java.io.IOException: Restarting a service
[Jenkins] $ "D:\Program Files (x86)\Jenkins\jenkins.exe" restart!
2018-06-29 16:28:14,590 INFO  - Restarting the service with id 'jenkins'
2018-06-29 16:28:14,590 FATAL - Unhandled exception
System.Exception: Failed to invoke restart: 193
   at winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   at winsw.WrapperService.Main(String[] args)
System.Exception: Failed to invoke restart: 193
   at winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   at winsw.WrapperService.Main(String[] args)

    at hudson.lifecycle.WindowsServiceLifecycle.restart(WindowsServiceLifecycle.java:145)
    at jenkins.model.Jenkins$23.run(Jenkins.java:4241)

0 个答案:

没有答案