查看Jenkins日志,其实是连接updateserver超时导致的:
# vim /var/log/jenkins/jenkins.log
信息: The attempt #1 to do the action check updates server failed with an allowed exception:
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
……
二月 14, 2019 11:01:15 下午 hudson.util.Retrier start
信息: Calling the listener of the allowed exception 'connect timed out' at the attempt #1 to do the action check updates server
二月 14, 2019 11:01:15 下午 hudson.util.Retrier start
信息: Attempted the action check updates server for 1 time(s) with no success
二月 14, 2019 11:01:15 下午 hudson.PluginManager doCheckUpdatesServer
严重: Error checking update sites for 1 attempt(s). Last exception was: SocketTimeoutException: connect timed out
二月 14, 2019 11:01:15 下午 hudson.model.AsyncPeriodicWork$1 run
信息: Finished Download metadata. 20,727 ms
二月 14,