Jenkins is an open-source tool for software development widely used in today’s world. I have already installed version 2.121.3 & how to update and upgrading Jenkins offline and online.
you should have taken the backup of Jenkins. There should not be any running job on the server. we can update it when No jobs are running or have completed the task.
How to Update Jenkins Version In Linux:
you must have taken the backup of the running server before performing these tasks, So, if something goes wrong, you can restore the server as earlier conditions.
Make sure there should not be any job running when you’re going to update the version.
Check Out: Install Jenkins Using War File
If you’re going to upgrade using Jenkins.war file So you can just simply replace your local copy of the Jenkins.war file and restart Jenkins.
Link to download Jenkins using repository Download Repo
Import key to verify jenkins
rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
Check Out: Check Jenkins Version I
Now you have Jenkins repo installed on your machine and run the yum install Jenkins.
while upgrading Jenkins there will be no effect on Jenkins server.
Check Out: Create Pipeline In Jenkins
systemctl restart jenkins Jenkins has been updated to 2.164.1
That’s it. jeversion upgrading jenkins offline update jenkins online