From: Holger Levsen Date: Fri, 22 Jun 2012 11:49:43 +0000 (+0200) Subject: export BUILD_ID as its used inside lb_build.sh X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=02122171606a7eff80e07fe6a8457e399972e450;p=profitbricks%2Fjenkins-build-scripts.git export BUILD_ID as its used inside lb_build.sh --- diff --git a/live_build.sh b/live_build.sh index ffc4a10..e9992e4 100755 --- a/live_build.sh +++ b/live_build.sh @@ -11,7 +11,7 @@ fi BUILDDATE=$(date +%Y%m%d%H%M) TARGET_BASE=/srv/mirror/live-build -BUILD_ID="${LIVE_TYPE}-${BUILDDATE}-${BUILD_NUMBER}" +export BUILD_ID="${LIVE_TYPE}-${BUILDDATE}-${BUILD_NUMBER}" # BUILD_ID is used without lb_build.sh... BUILD_TARGET=$TARGET_BASE/$BUILD_ID figlet "building $LIVE_TYPE with build_id $BUILD_ID" @@ -19,9 +19,6 @@ figlet "building $LIVE_TYPE with build_id $BUILD_ID" cd pserver.flexible sudo bash ./lb_build.sh mrproper sudo bash ./lb_build.sh -p office-proxy,$LIVE_TYPE -# -# TODO: echo $BUILD_ID > $live_buildchroot/etc/profitbricks-live-build-ID -# ls -larth tftpboot/debian-live/amd64/ ls -larth binary/live/