- Lab
- A Cloud Guru
Upgrading Jenkins
In order to ensure the latest features, security, and compatibility are maintained, we need to update and upgrade our Jenkins installations. In this hands-on lab, we will have the opportunity to upgrade a Jenkins server to the latest available version. We will then ensure all the related tasks, such as data storage and possibly plugin updates, are completed.
Path Info
Table of Contents
-
Challenge
Verify Jenkins Requires an Update and Get the Link to the New Version
- Log in to the Jenkins GUI using the following credentials:
- User: student
- Password: OmgPassword!
- Go to Manage Jenkins, and take note of the messages.
- Copy the download link for the Jenkins WAR file.
- Log in to the Jenkins GUI using the following credentials:
-
Challenge
Log in to the Jenkins Server via SSH and Perform the Update
- Log in to the Jenkins server via SSH using the credentials provided in the lab.
- Get the new WAR file by running
wget
with the link copied from the Jenkins GUI. - Copy the old WAR file from
/usr/lib/jenkins
as a backup. - Place the new WAR file in the previous WAR file's place.
- Restart the Jenkins service.
-
Challenge
Log in to the Jenkins GUI and Update Plugins
- Log in to the Jenkins GUI using the following credentials:
- User: student
- Password: OmgPassword!
- Verify the version of Jenkins.
- Update plugins as necessary, and restart as needed.
- Verify all available updates have been done.
- Log in to the Jenkins GUI using the following credentials:
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.