Created
August 11, 2015 10:46
-
-
Save cyxou/daf1c3ac9c5d0eabe4ab to your computer and use it in GitHub Desktop.
Upgrade Jenkins on Bitnami VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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