Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On vacation

Jared Dobson jaredmdobson

🌴
On vacation
View GitHub Profile
@jaredmdobson
jaredmdobson / upgrade-jenkins.sh
Last active Jun 14, 2018 — forked from cyxou/upgrade-jenkins.sh
Upgrade Jenkins on Bitnami VM
View upgrade-jenkins.sh
#!/bin/bash
sudo /opt/bitnami/ctlscript.sh stop tomcat
cd /opt/bitnami
sudo cp -f apache-tomcat/webapps/jenkins.war apps/jenkins/jenkins.war.bak
sudo rm -r apache-tomcat/webapps/jenkins
sudo rm -r apache-tomcat/webapps/jenkins.war
sudo rm -r apache-tomcat/work/Catalina/localhost/jenkins
sudo wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
sudo mv jenkins.war apache-tomcat/webapps/