8
如何给 Jenkins 版本升级
source link: https://moshou.me/?p=23
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
如何给 Jenkins 版本升级 – 墨守跳至内容
试着生产一些世界需要的软件
Jenkins 版本升级其实就是替换文件。
为了能够跑一些 Jenkins 插件,决定对 Jenkins 进行一个版本升级。
1. 确认需要替换的文件路径
https://jenkins域名/systemInfo
首先进入系统信息,找到 executable-war
,查看 jenkins.war
的路径。
2. 替换文件
- ssh 到自己的 CI 服务器上,进入上一步查到的路径,先用
cp
进行当前文件的备份,备份到其他目录下。 - 暂停 CI 服务,
sudo service jenkins stop
- 删除文件夹内的 .war 文件
- 下载最新版,
sudo wget https://xxxxxxx
- 你可以在这里找到想要下载的版本链接https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable-rc/
- 重启 CI 服务,
sudo service jenkins start
3. 升级完成
发布者:yugao6月 11, 20206月 11, 2020发布于软件标签: Jenkins
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK