DEV Community

Cover image for How to upgrade Jenkins on Ubuntu

Posted on


How to upgrade Jenkins on Ubuntu

To upgrade a Jenkins on the Ubuntu

First, update the apt packages to fetch the latest versions

sudo apt-get update

Use the following commands to upgrade Jenkins:

sudo apt-get --only-upgrade install jenkins

And then restart the Jenkins server using the command

sudo systemctl restart jenkins

Top comments (1)

maprangsoft profile image

thank you very much.

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.