$ docker logs -f jenkins # ..... 2023-06-08 03:46:02.878+0000 [id=36] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization 2023-06-08 03:46:02.971+0000 [id=22] INFO hudson.WebAppMain$3#run: Jenkins is fully up and running
末尾处有输出 Jenkins is fully up and running 表示 Jenkins 启动成功。
登录 Jenkins 后台验证:
系统管理没有对 Jenkins 的大版本 error 报错,说明这个大版本是没问题的。
升级常用插件版本
Jenkins 版本升级,会导致部分插件图标显示不正常。
请将常用插件升级版本后解决:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# 更新 Pipeline: Stage View Pipeline: Build Step Pipeline: Multibranch Pipeline: Nodes and Processes Pipeline Utility Steps https://www.jianshu.com/p/fb12e47d7b11 Git Parameter ThinBackup Role-based Authorization Strategy Image Tag Parameter Publish Over SSH Localization Support
# 新安装 HTTP Request
由于部分插件之前对版本有耦合性,因此插件更新切勿无脑全选,可能会造成Jenkins 异常。
解决插件版本异常:
可以看到 HTTP Request Plugin 所报的异常,无外乎是它所依赖的几个插件版本太低:
1 2 3 4 5 6 7 8 9
部分插件由于缺少依赖无法加载。要恢复这些插件提供的功能,需要修复这些问题并重启 Jenkins。
Dependency errors:
HTTP Request Plugin (1.16) Update required: Pipeline: Nodes and Processes (workflow-durable-task-step 2.39) to be updated to 2.40 or higher Update required: Credentials Plugin (credentials 2.5) to be updated to 2.6.1 or higher Update required: Pipeline: Step API (workflow-step-api 2.23) to be updated to 2.24 or higher Update required: Script Security Plugin (script-security 1.77) to be updated to 1.78 or higher