summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-25 15:26:06 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-25 15:26:06 +0100
commit3bf156d9a03753c1ef2e4ed77eebe7ec9c713b65 (patch)
tree87afd71d45cc1f56c5b008da9f0acd05c000ee7c /bin
parent7595a2e2509defe3371dfc01b085e30bd7be2bde (diff)
downloadjenkins.debian.net-3bf156d9a03753c1ef2e4ed77eebe7ec9c713b65.tar.xz
reproducible: make more robust against network problems
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a3760352..19f7a656 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -167,13 +167,14 @@ diff_copy_buildlogs() {
handle_404() {
echo "Warning: Download of ${SRCPACKAGE} sources from ${SUITE} failed." | tee -a ${RBUILDLOG}
ls -l ${SRCPACKAGE}* | tee -a ${RBUILDLOG}
- echo "Warning: Maybe there was a network problem, or ${SRCPACKAGE} is not a source package in ${SUITE}, or it was removed or renamed. Please investigate." | tee -a ${RBUILDLOG}
+ echo "Warning: Maybe there was a network problem, or ${SRCPACKAGE} is not a source package in ${SUITE}, or it was removed or renamed. Please investigate. Sleeping 30m as this should not happen." | tee -a ${RBUILDLOG}
DURATION=''
EVERSION="None"
update_rbuildlog
update_db_and_html "404"
if [ $SAVE_ARTIFACTS -eq 1 ] ; then SAVE_ARTIFACTS=0 ; fi
if [ ! -z "$NOTIFY" ] ; then NOTIFY="failure" ; fi
+ sleep 30m
exit 0 # RBUILDLOG and SAVE_ARTIFACTS and NOTIFY are used in cleanup_all called at exit
}