DEV Community

Cover image for How to upgrade Jenkins on Ubuntu
FarhanYaseen
FarhanYaseen

Posted on

12

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)

Collapse
 
maprangsoft profile image
Maprangsoft

thank you very much.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay