From be4dfc50947914fb895835e08506a68e92097c42 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 15 Apr 2017 16:16:58 +0200 Subject: reproducible Debian: provide 'latest' link Signed-off-by: Holger Levsen --- bin/reproducible_build_service.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh index 2639f8dc..0f458a83 100755 --- a/bin/reproducible_build_service.sh +++ b/bin/reproducible_build_service.sh @@ -22,6 +22,7 @@ BUILD_BASE=/var/lib/jenkins/userContent/reproducible/debian/build_service/$1 OLD_ID=$((ls -1rt $BUILD_BASE||echo 0)|tail -1) let BUILD_ID=OLD_ID+1 mkdir -p $BUILD_BASE/$BUILD_ID +ln -sf $BUILD_BASE/$BUILD_ID $BUILD_BASE/latest export BUILD_URL=https://jenkins.debian.net/userContent/build_service/$1 export BUILD_ID @@ -40,7 +41,5 @@ esac # < h01ger> | logs should auto display in browser like with jenkins… (long-polling, meta-refresh, something) # < h01ger> | and we need maintenance to cleanup the log files eventually # < h01ger> | and translate that yaml to crontab entries, starting with i386 -# Sleeping 5m before aborting the job. -# -> blocks stopping the service -- cgit v1.2.3-70-g09d2