]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
pass git branch to liveboot build script
authorHolger Levsen <holger@layer-acht.org>
Fri, 7 Sep 2012 09:19:25 +0000 (11:19 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 7 Sep 2012 09:19:25 +0000 (11:19 +0200)
liveboot_build.sh

index 289c58c781b341f97433c2605a01bab522158d66..8bd601a17a06fac046b5d9f361fdf17955331b70 100755 (executable)
@@ -22,9 +22,9 @@ RSYNC_FILTER=''
 
 # ri server
 RSYNC_DST1="liveboot@riserver/liveboot/" 
-# pbb
+# pbb (mgmt5)
 RSYNC_DST2="liveboot@10.254.1.1/liveboot/"
-# staging
+# staging (mgmt9)
 RSYNC_DST3="liveboot@10.252.1.1/liveboot/"
 
 figlet "still work in progress, but... getting there"
@@ -37,7 +37,7 @@ git clone git://git/ri/liveboot.git
 cd liveboot
 git checkout $GIT_BRANCH
 [ -d /srv/build/cache ] && mv /srv/build/cache .
-./build.sh $BUILD_NUMBER
+./build.sh $BUILD_NUMBER $GIT_BRANCH
 EOF
 
 sudo pbuilder --execute --bindmounts /srv/build/ -- $BUILD_SCRIPT