summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-12 01:33:06 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-12 01:33:06 +0100
commita305f8a8fda976769f319b2255f979eb30ae47e4 (patch)
tree9534eb5bff99c604946ab0e008a9fe36b64bd2bf /bin
parent11aaefd2719a57aa4b4000a3ef188c4183aa542a (diff)
downloadjenkins.debian.net-a305f8a8fda976769f319b2255f979eb30ae47e4.tar.xz
rename jobs again, to a $1_$2_$3 naming scheme
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 384c230a..2e0000d1 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -30,7 +30,7 @@ export http_proxy="http://localhost:3128"
# init
#
DISPLAY=localhost:$1
-NAME=$2
+NAME=$2 # it should be possible to derive $NAME from $JOB_NAME
DISKSIZE_IN_GB=$3
URL=$4
RAMSIZE=1024
@@ -121,21 +121,21 @@ bootstrap() {
INST_LOCALE="locale=en_US"
INST_KEYMAP="keymap=us"
INST_VIDEO="video=vesa:ywrap,mtrr vga=788"
- case $NAME in
- wheezy-debian-edu-workstation)
+ case $JOB_NAME in
+ *debian-edu_wheezy-test_workstation)
EXTRA_APPEND=""
;;
- squeeze-test-debian-edu-standalone)
+ *debian-edu_squeeze-test_standalone)
INST_KEYMAP="console-keymaps-at/$INST_KEYMAP"
EXTRA_APPEND=""
;;
- wheezy-lxde)
+ *debian_wheezy_lxde)
EXTRA_APPEND="desktop=lxde"
;;
- sid-daily-lxde)
+ *debian_sid_daily-lxde)
EXTRA_APPEND="desktop=lxde mirror/suite=sid"
;;
- sid-daily-rescue)
+ *debian_sid_daily-rescue)
EXTRA_APPEND="rescue/enable=true mirror/suite=sid"
;;
*) echo "unsupported distro."