一尘不染

如何摆脱依赖错误加载詹金斯?

jenkins

刚刚下载了jenkins.war并做了一个java -jar jenkins.war(在Windows 8.1上)

转到http://127.0.0.1:8080/manage,我看到了:

加载某些插件时有依赖项错误:

Email Extension Plugin v2.47
    JUnit Plugin v1.2-beta-4 is older than required. To fix, install v1.2 or later.
GitHub plugin v1.20.0
    Jenkins Git plugin v2.4.0 failed to load. Fix this plugin first.
Jenkins Git plugin v2.5.3
    Matrix Project Plugin v1.4.1 is older than required. To fix, install v1.6 or later.
    Jenkins Mailer Plugin v1.11 is older than required. To fix, install v1.16 or later.
Pipeline v2.2
    Pipeline: Basic Steps v2.0 failed to load. Fix this plugin first.
Jenkins Workspace Cleanup Plugin v0.30
    Matrix Project Plugin v1.4.1 is older than required. To fix, install v1.7.1 or later.
GitHub Branch Source Plugin v1.8.1
    Jenkins Git plugin v2.3 failed to load. Fix this plugin first.
Pipeline: Basic Steps v2.1
    Jenkins Mailer Plugin v1.11 is older than required. To fix, install v1.13 or later.
GitHub Organization Folder Plugin v1.4
    GitHub Branch Source Plugin v1.5 failed to load. Fix this plugin first.

重复java -jar jenkins.war,将每个分支的war解包。有他住的地方,以便您可以从命令行运行他吗?

我如何摆脱插件错误?


阅读 154

收藏
2020-07-25

共1个答案

一尘不染

只需从jenkins页面加载最新版本,并在默认情况下安装推荐的插件,打开管理页面后,您不会看到任何类似您的问题,控制台日志示例如下。

也许您可以使用最新的jenkins版本重做它。

八月 22, 2016 8:31:17 上午 hudson.PluginManager dynamicLoad
INFO: Plugin email-ext:2.47 dynamically installed
八月 22, 2016 8:31:17 上午 hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Email Extension Plugin
八月 22, 2016 8:31:17 上午 hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of Mailer Plugin on behalf of admin
八月 22, 2016 8:31:17 上午 hudson.model.UpdateCenter$InstallationJob _run
INFO: Skipping duplicate install of: Mailer Plugin@1.17
八月 22, 2016 8:31:17 上午 hudson.model.UpdateCenter$DownloadJob run
INFO: Installation successful: Mailer Plugin
2020-07-25