summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-14 21:55:15 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-14 21:55:15 +0200
commitbe73cfec4f2dfb82edee1dbe16a2dbdd8f471ccc (patch)
treea08f20e05d316c0e6fc47c88b43170cced579396
parent48ee5301f0be8c772472b43a8d65045d8abf36b7 (diff)
downloadjenkins.debian.net-be73cfec4f2dfb82edee1dbe16a2dbdd8f471ccc.tar.xz
reproducible Debian: fix logic
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build_service.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 0ca3a649..55a4ca90 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -20,9 +20,9 @@ set -x
BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
-mkdir -p $BUILD_BASE
OLD_ID=$((ls -1rt $BUILD_BASE||echo 0)|tail -1)
let BUILD_ID=OLD_ID+1
+mkdir -p $BUILD_BASE/$BUILD_ID
case $1 in
arm64_builder1) NODE1=codethink-sled12-arm64 NODE2=codethink-sled15-arm64 ;;