DEV Community

Cover image for How to upgrade Jenkins on Ubuntu
FarhanYaseen
FarhanYaseen

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

Latest comments (1)

Collapse
 
maprangsoft profile image
Maprangsoft

thank you very much.