I have Jenkins installed on a server with Debian 8. I would like to know the correct procedure for updating the version. In the current documentation, you do not specify the update procedure. In a survey on StackOverFlow in English, I only found old answers (2012, 13, 14), where I even had official documentation on how to do it (but the current version goes to the installation documentation).
I believe it would work by command:
sudo apt-get upgrade jenkins
But I'm not sure if it's the best way or the right one.
If anyone knows if this is a correct procedure or if there are others, thank you!