From b3116df2584228efb80c8a464ba4cbd6a57cfbd0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Jan 2017 17:54:31 +0300 Subject: Add retry script for wget invokes in ci jobs. --- tools/ci/jobs/cpplint.sh | 2 +- tools/ci/jobs/deheader.sh | 2 +- tools/ci/jobs/deheader_sdl2.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/ci') diff --git a/tools/ci/jobs/cpplint.sh b/tools/ci/jobs/cpplint.sh index ccc603be4..531d82bbe 100755 --- a/tools/ci/jobs/cpplint.sh +++ b/tools/ci/jobs/cpplint.sh @@ -7,7 +7,7 @@ source ./tools/ci/scripts/init.sh aptget_install python wget rm cpplint.py -wget "https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py" +tools/ci/scripts/retry.sh wget "https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py" chmod +x cpplint.py CHECKER="./cpplint.py --filter=\ diff --git a/tools/ci/jobs/deheader.sh b/tools/ci/jobs/deheader.sh index caf7dff40..62e40e480 100755 --- a/tools/ci/jobs/deheader.sh +++ b/tools/ci/jobs/deheader.sh @@ -13,5 +13,5 @@ aptget_install python wget \ export dir=$(pwd) rm deheader -wget "https://gitlab.com/4144/deheader/raw/master/deheader" +tools/ci/scripts/retry.sh wget "https://gitlab.com/4144/deheader/raw/master/deheader" chmod +x deheader diff --git a/tools/ci/jobs/deheader_sdl2.sh b/tools/ci/jobs/deheader_sdl2.sh index 83eed1f48..e6e0a24ef 100755 --- a/tools/ci/jobs/deheader_sdl2.sh +++ b/tools/ci/jobs/deheader_sdl2.sh @@ -13,5 +13,5 @@ aptget_install python wget \ export dir=$(pwd) rm deheader -wget "https://gitlab.com/4144/deheader/raw/master/deheader" +tools/ci/scripts/retry.sh wget "https://gitlab.com/4144/deheader/raw/master/deheader" chmod +x deheader -- cgit v1.2.3-60-g2f50