Skip to content

Instantly share code, notes, and snippets.

@cyxou
Created August 11, 2015 10:46
Show Gist options
  • Save cyxou/daf1c3ac9c5d0eabe4ab to your computer and use it in GitHub Desktop.
Save cyxou/daf1c3ac9c5d0eabe4ab to your computer and use it in GitHub Desktop.
Upgrade Jenkins on Bitnami VM
#!/bin/bash
cd /opt/bitnami
sudo ./ctlscript.sh stop
sudo cp -f apache-tomcat/webapps/jenkins.war apps/jenkins/jenkins.war.bak
sudo wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
sudo mv jenkins.war apache-tomcat/webapps/
sudo rm -rf apache-tomcat/work/Catalina/localhost
sudo rm -rf apache-tomcat/webapps/jenkins
sudo ./ctlscript.sh start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment