summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-19 13:25:22 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-19 13:25:22 +0200
commit82fa1742550c1eb59e2c8d9afb593081fd151065 (patch)
tree2a6e844fecb7d60ca8284200fee204f29076fb4e
parent512aadece9634604744f95103a53961c31b1b625 (diff)
downloadjenkins.debian.net-82fa1742550c1eb59e2c8d9afb593081fd151065.tar.xz
reproducible Debian: fix latest link and URL
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build_service.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 018d9e9c..1c515d2f 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -22,9 +22,9 @@ BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1
OLD_ID=$(ls -1rt $BUILD_BASE|grep -v latest|sort -n|tail -1)
let BUILD_ID=OLD_ID+1
mkdir -p $BUILD_BASE/$BUILD_ID
-(cd $BUILD_BASE ; ln -sf $BUILD_ID latest)
+ln -sf $BUILD_ID $BUILD_BASE/latest
-export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1
+export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1/
export BUILD_ID=$BUILD_ID
export JOB_NAME="reproducible_builder_$1"