summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/scripts/starthudson.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-server-slave-setup/scripts/starthudson.sh')
-rwxr-xr-xjenkins-server-slave-setup/scripts/starthudson.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins-server-slave-setup/scripts/starthudson.sh b/jenkins-server-slave-setup/scripts/starthudson.sh
index 47fcac9..aea50f3 100755
--- a/jenkins-server-slave-setup/scripts/starthudson.sh
+++ b/jenkins-server-slave-setup/scripts/starthudson.sh
@@ -4,7 +4,7 @@ FLAGS="-server -Xms256m -Xmx512m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -X
HUDSON_HOME=/srv/hudson/config
export HUDSON_HOME
-. /opt-linux-x86_64/etc/profile.jre6
+. /opt-linux-x86_64/etc/profile.jre7
. /opt-share/etc/profile.ant
-/opt-linux-x86_64/jre6/bin/java ${FLAGS} -jar /srv/hudson/hudson.war 2>&1 | tee hudson.log
+/opt-linux-x86_64/jre7/bin/java ${FLAGS} -jar /srv/hudson/hudson.war 2>&1 | tee hudson.log