We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d4e67 commit 57346b7Copy full SHA for 57346b7
tools/jenkins/jenkins_home/build_jenkins.sh
@@ -25,6 +25,13 @@ echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/je
25
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
26
apt-get update
27
28
+
29
+# Clean out old jenkins - useful if you are having issues upgrading
30
+CLEAN_JENKINS=${CLEAN_JENKINS:-no}
31
+if [ "$CLEAN_JENKINS" = "yes" ] then;
32
+ apt-get remove jenkins jenkins-common
33
+fi
34
35
# Install software
36
DEPS="jenkins cloud-utils"
37
apt-get install -y --force-yes $DEPS
0 commit comments