From: Holger Levsen Date: Fri, 7 Sep 2012 09:19:25 +0000 (+0200) Subject: pass git branch to liveboot build script X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f45f7bf76fcff9424b0b718f9c1d23d52e40b3a2;p=profitbricks%2Fjenkins-build-scripts.git pass git branch to liveboot build script --- diff --git a/liveboot_build.sh b/liveboot_build.sh index 289c58c..8bd601a 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -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