Jenkins插件安装失败。如何获取正确的完整日志

时间:2019-03-05 13:24:51

标签: java jenkins jenkins-plugins error-logging

我将詹金斯(Jenkins)升级到2.150.3。更新后,我注意到未安装gerrit-trigger插件。我尝试安装最新版本2.29.0,但失败。

我在失败后从jenkins日志中发现了

问题是还有5条线,7条线等,因此我没有完整的日志记录。

如何显示其余这些行?

INFO: Starting the installation of gerrit-trigger on behalf of *******
Mar 05, 2019 1:53:18 PM hudson.model.UpdateCenter$UpdateCenterConfiguration download
INFO: Downloading gerrit-trigger
Mar 05, 2019 1:53:18 PM hudson.PluginManager dynamicLoad
INFO: Attempting to dynamic load /opt/jenkins/plugins/gerrit-trigger.jpi
Mar 05, 2019 1:53:18 PM hudson.model.UpdateCenter$DownloadJob run
SEVERE: Failed to install gerrit-trigger
java.io.IOException: Failed to dynamically deploy this plugin
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2001)
    at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1693)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Failed to install gerrit-trigger plugin
    at hudson.PluginManager.dynamicLoad(PluginManager.java:889)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:825)
    at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1997)
    ... 5 more
Caused by: java.io.IOException: Unable to load com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl from gerrit-trigger
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:530)
    at hudson.PluginManager.dynamicLoad(PluginManager.java:880)
    ... 7 more
Caused by: java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:524)
    ... 8 more
Caused by: java.lang.IllegalStateException: attempt to register a second PermissionGroup for com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl
    at hudson.security.PermissionGroup.register(PermissionGroup.java:162)
    at hudson.security.PermissionGroup.<init>(PermissionGroup.java:78)
    at hudson.security.PermissionGroup.<init>(PermissionGroup.java:64)
    at com.sonyericsson.hudson.plugins.gerrit.trigger.PluginImpl.<clinit>(PluginImpl.java:83)
    ... 14 more

0 个答案:

没有答案