Debian系统下更新Jenkins版本主要有以下两种方法:
sudo systemctl stop jenkins。wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt install jenkins。sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins。jenkins.war文件。jenkins.war文件。jenkins.war文件。