summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-15 16:16:58 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-15 16:16:58 +0200
commitbe4dfc50947914fb895835e08506a68e92097c42 (patch)
treee6f28fd59bd772a604577281e6b8e5b183d1d10c
parent3193a2e60a113301aea5d1b73d3d24cf6f3cd145 (diff)
downloadjenkins.debian.net-be4dfc50947914fb895835e08506a68e92097c42.tar.xz
reproducible Debian: provide 'latest' link
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build_service.sh3
1 files changed, 1 insertions, 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