diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-12 10:55:43 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-12 10:55:43 +0100 |
commit | af1ca9f515b83849d56d79bacf5c2586a7ea3589 (patch) | |
tree | 5acecd33b10fdd4f5452270cba380401af32d596 | |
parent | 1ad6c347c0ce08cfde59c6f64166715dd0ccd048 (diff) | |
download | jenkins.debian.net-af1ca9f515b83849d56d79bacf5c2586a7ea3589.tar.xz |
fixup 1ad6c347: reproducible archlinux: refactor and kill build after 8 (instead of 4) hours
-rwxr-xr-x | bin/reproducible_build_archlinux_pkg.sh | 1 |
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}" |