summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-13 11:56:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-13 11:56:14 +0100
commit6970115ca26ea92188e0c5c339dc0f132433b365 (patch)
treea46419a94b6e741fd11c81220da0f37263b597c5 /bin
parent53fc2827bd2163cf0bc5a3876e9fb9f51478d652 (diff)
downloadjenkins.debian.net-6970115ca26ea92188e0c5c339dc0f132433b365.tar.xz
reproducible: run diffoscope nicely
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh4
-rwxr-xr-xbin/reproducible_common.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 27ead7b5..f316a5c5 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -344,7 +344,7 @@ call_diffoscope_on_changes_files() {
set +e
set -x
# remember to also modify the retry diffoscope call 15 lines below
- ( timeout $TIMEOUT schroot \
+ ( timeout $TIMEOUT nice schroot \
--directory $TMPDIR \
-c source:jenkins-reproducible-${DBDSUITE}-diffoscope \
-- sh -c "export TMPDIR=$TEMP ; diffoscope \
@@ -360,7 +360,7 @@ call_diffoscope_on_changes_files() {
echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not available, will sleep 2min and retry."
sleep 2m
# remember to also modify the retry diffoscope call 15 lines above
- ( timeout $TIMEOUT schroot \
+ ( timeout $TIMEOUT nice schroot \
--directory $TMPDIR \
-c source:jenkins-reproducible-${DBDSUITE}-diffoscope \
-- sh -c "export TMPDIR=$TEMP ; diffoscope \
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 064a9303..6b1c54a8 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -506,7 +506,7 @@ call_diffoscope() {
local msg=""
set +e
# remember to also modify the retry diffoscope call 15 lines below
- ( timeout $TIMEOUT schroot \
+ ( timeout $TIMEOUT nice schroot \
--directory $TMPDIR \
-c source:jenkins-reproducible-${DBDSUITE}-diffoscope \
diffoscope -- \
@@ -521,7 +521,7 @@ call_diffoscope() {
echo "$(date -u) - schroot jenkins-reproducible-${DBDSUITE}-diffoscope not available, will sleep 2min and retry."
sleep 2m
# remember to also modify the retry diffoscope call 15 lines above
- ( timeout $TIMEOUT schroot \
+ ( timeout $TIMEOUT nice schroot \
--directory $TMPDIR \
-c source:jenkins-reproducible-${DBDSUITE}-diffoscope \
diffoscope -- \