Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins update via comand line Ubuntu 20.04

I want to update my Jenkins in a Ubuntu 20.04 lts and I would like to know how to do it by command line. I have been trying to look for good and simple documentation but have not found any.

like image 532
Salvador Enrique Alfaro Anaya Avatar asked Nov 14 '25 11:11

Salvador Enrique Alfaro Anaya


1 Answers

You should update the apt packages to fetch the latest versions sudo apt-get update

To upgrade Jenkins:

sudo apt-get --only-upgrade install jenkins

And then restart the Jenkins server

sudo systemctl restart jenkins
like image 119
Woohaik Avatar answered Nov 17 '25 09:11

Woohaik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!