Home > Software design >  Jenkins update via comand line Ubuntu 20.04
Jenkins update via comand line Ubuntu 20.04

Time:10-21

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.

CodePudding user response:

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 Can do this by a command: sudo systemctl restart jenkins

  • Related