1. Download war package
https://mirror.xmission.com/jenkins/war-stable/
- Select your target version and download war file, or copy the download url to get package by wget tool in your docker container.
2. Update
- Just copy package to path
/usr/share/jenkins
inside docker container.
3. Restart docker container
sudo docker restart jenkins_container_name
- Complete!