当前位置:网站首页>Upgrade Jenkins steps and problems encountered
Upgrade Jenkins steps and problems encountered
2022-06-21 07:43:00 【Operation and maintenance @ small soldier】
One 、 background
Because of my pipeline Need to use readYaml, So install Utility Steps plug-in unit , But restart after installation Jenkins, Find many job All have no ,slave Several nodes are offline .
The reason for the above problems is my Jenkins The version is relatively low , by 2.201.1, According to the prompt message of the plug-in , I need to upgrade to 2.277.4 edition
Two 、 Backup
cd ${tomcat_home}/webapps
cp jenkins.war jenkins.war.bak
cd ~
zip -r jenkins_home.zip .jenkins # Backup jenkins_home
3、 ... and 、 download jenkins.war
Download address :https://mirrors.jenkins.io/war-stable/
Find the corresponding version and download it
Put the new war Put the bag in ${tomcat_home}/webapps Next , restart tomcat
Four 、 problem
Log in after reboot Jenkins Report the following error

solve :
download hpi file , And put it in /home/admin/.jenkins/plugins/ below
Role strategy hpi plugin The download link for is :https://updates.jenkins.io/latest/role-strategy.hpi
restart Jenkins
Free style job Click save and nothing happens , The front end reports the following errors

reason
The previous plug-ins are not upgraded to the latest version, resulting in
solve
Upgrade all plug-ins to the latest version , restart Jenkins that will do
边栏推荐
- Talk about MySQL's locking rule "hard hitting MySQL series 15"
- Matlab 3D diagram (unconventional)
- Arduino about software uninstallation and library uninstallation
- What is a multi domain SSL certificate?
- Why do smart cities need digital twins?
- 如何让mysql不区分大小写
- 2021-07-28 STM32F103 I2C Hardware Transfer Include previous IO Clock EXIT USB use firmware library
- 2021-07-28 STM32F103配置信息
- [Blue Bridge Cup monolithic unit] serial port communication
- 为什么智慧城市需要数字孪生?
猜你喜欢
![[UML modeling] (4) sequence diagram of UML modeling](/img/e6/0fd15bca49e7894ce039d97f3798c3.jpg)
[UML modeling] (4) sequence diagram of UML modeling
![[OSG] OSG development (02) - build osgqt Library Based on MinGW compilation](/img/f4/9137bb7f8eab1b99460cb4110fa787.png)
[OSG] OSG development (02) - build osgqt Library Based on MinGW compilation

Yyds dry goods inventory rapid establishment of CEPH cluster

stm32中定义和声明问题

2022年的WordPress网站安全问题

18 statistics and its sampling distribution chi square distribution-t distribution-f distribution

How to write circular statements in MySQL stored procedures

How to optimize MySQL paging query

How MySQL closes a transaction

升级Jenkins步骤和遇到的问题
随机推荐
Actual use case of strategic routing in a school cloud computer project
Sword finger offer 34 A path with a value in a binary tree
QML控件类型:Drawer
Flutter returns to the black screen of the previous page
A shell script to realize automatic expiration of Prometheus push gateway indicators
Is the account with low commission safe? Is there a shortage of funds
mysql如何关闭事务
Record context information through ThreadLocal (record user information to realize global operation)
Detailed explanation of deep learning technology for building an image search engine that can find similar images
Definition and declaration problems in stm32
Fault analysis | case analysis of master-slave synchronization error reporting after MySQL slave restart
为什么智慧城市需要数字孪生?
How do I install the visual studio code editor?
Interview duck interview brush question website system source code
How to view the MySQL installation path
RDKit | 基于Murcko骨架聚类化合物库
海思系列量产硬件调试记录
[untitled]
The concept of tree
Research Report on market supply and demand and strategy of inorganic feed phosphate industry in China
