From b9707356ff8a8669f2dade51fc1bcc7aef11f942 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 18 Jul 2017 14:51:04 +0900 Subject: [PATCH] Bug 1381770 - Enable multiple download retries in tooltool-download.sh. r=mshal The scripts that use tooltool-download.sh don't run regularly, but when they do, they might hit some download problems (the relengapi proxy tends to be rather unreliable for some reason), and in that case, it would be better to retry a few times, like other job types, rather than fail directly. --HG-- extra : rebase_source : d85797f8eebff9be5b8bfc45fc14dfaf8d5a59f3 --- taskcluster/scripts/misc/tooltool-download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/scripts/misc/tooltool-download.sh b/taskcluster/scripts/misc/tooltool-download.sh index f75f70355aba..ec4170b2c6a1 100644 --- a/taskcluster/scripts/misc/tooltool-download.sh +++ b/taskcluster/scripts/misc/tooltool-download.sh @@ -5,6 +5,6 @@ cd $WORKSPACE/build/src : TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache} export TOOLTOOL_CACHE -./mach artifact toolchain -v --tooltool-url=http://relengapi/tooltool/ --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}} +./mach artifact toolchain -v --tooltool-url=http://relengapi/tooltool/ --tooltool-manifest "${TOOLTOOL_MANIFEST}"${TOOLTOOL_CACHE:+ --cache-dir ${TOOLTOOL_CACHE}} --retry 5 cd $OLDPWD