summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 10:55:43 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 10:55:43 +0100
commitaf1ca9f515b83849d56d79bacf5c2586a7ea3589 (patch)
tree5acecd33b10fdd4f5452270cba380401af32d596 /bin
parent1ad6c347c0ce08cfde59c6f64166715dd0ccd048 (diff)
downloadjenkins.debian.net-af1ca9f515b83849d56d79bacf5c2586a7ea3589.tar.xz
fixup 1ad6c347: reproducible archlinux: refactor and kill build after 8 (instead of 4) hours
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 6d79dd5c..80b0897c 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -214,6 +214,7 @@ TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d) # where everything actua
trap cleanup_all INT TERM EXIT
cd $TMPDIR
+TIMEOUT=8 # maximum time in hours for a single build
DATE=$(date -u +'%Y-%m-%d %H:%M')
START=$(date +'%s')
BUILDER="${JOB_NAME#reproducible_builder_}/${BUILD_ID}"