Update page 'Mettre à jour Jenkins'

wpetit 2019-11-06 11:11:15 +01:00
parent c3c35be2fb
commit 7a40c9bd19
1 changed files with 33 additions and 0 deletions

@ -0,0 +1,33 @@
# Mettre à jour Jenkins
> En cas de mise à jour disponible sur Jenkins
1. Se connecter en SSH sur la machine Jenkins
```
ssh root@192.168.30.137
```
2. Utiliser le script de mise à jour automatique
```
/usr/local/bin/jenkins-upgrade
```
Exemple de sortie
```
Downloading and checking latest Jenkins version checksum...
New version available ! Downloading.
Connecting to mirrors.jenkins.io (52.202.51.185:80)
Connecting to mirror.serverion.com (94.228.210.101:80)
jenkins.war-new 100% |*************************************************************************************| 76409k 0:00:00 ETA
jenkins.war-new: OK
Rotating Jenkins versions.
Done. You can now restart the Jenkins service.
```
3. Redémarrer le service
```
/etc/init.d/jenkins restart
```