summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-05 17:54:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-05 17:54:31 +0300
commitb3116df2584228efb80c8a464ba4cbd6a57cfbd0 (patch)
treeb20dfbe3eb171344832e32b0ce730b70acf63fa5 /tools/ci
parent80c3757447e970faf48092a45d818c1ffad51b3d (diff)
downloadmv-b3116df2584228efb80c8a464ba4cbd6a57cfbd0.tar.gz
mv-b3116df2584228efb80c8a464ba4cbd6a57cfbd0.tar.bz2
mv-b3116df2584228efb80c8a464ba4cbd6a57cfbd0.tar.xz
mv-b3116df2584228efb80c8a464ba4cbd6a57cfbd0.zip
Add retry script for wget invokes in ci jobs.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/jobs/cpplint.sh2
-rwxr-xr-xtools/ci/jobs/deheader.sh2
-rwxr-xr-xtools/ci/jobs/deheader_sdl2.sh2
3 files changed, 3 insertions, 3 deletions
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