Upgrading Jenkins

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Verify Jenkins Requires an Update and Get the Link to the New Version
  1. Log in to the Jenkins GUI using the following credentials:
    • User: student
    • Password: OmgPassword!
  2. Go to Manage Jenkins, and take note of the messages.
  3. Copy the download link for the Jenkins WAR file.
Log in to the Jenkins Server via SSH and Perform the Update
  1. Log in to the Jenkins server via SSH using the credentials provided in the lab.
  2. Get the new WAR file by running wget with the link copied from the Jenkins GUI.
  3. Copy the old WAR file from /usr/lib/jenkins as a backup.
  4. Place the new WAR file in the previous WAR file’s place.
  5. Restart the Jenkins service.
Log in to the Jenkins GUI and Update Plugins
  1. Log in to the Jenkins GUI using the following credentials:
    • User: student
    • Password: OmgPassword!
  2. Verify the version of Jenkins.
  3. Update plugins as necessary, and restart as needed.
  4. Verify all available updates have been done.

Additional Resources

Your company has a Jenkins server that has not been updated in quite a while. All the jobs have been moved off the server, and it is ready to be upgraded. You will need to perform the upgrade, ensure data is stored correctly for the version, and any needed plugin updates are installed.

The Jenkins dashboard login is:

  • User: student
  • Password: OmgPassword!

What are Hands-on Labs

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!