Retry Chocolatey install to workaround failures
authorShane Synan <digitalcircuit36939@gmail.com>
Mon, 28 Nov 2016 11:39:49 +0000 (05:39 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Apr 2018 21:14:03 +0000 (23:14 +0200)
commit759f4d153240cde283176edcc837d2a2f7801c46
treeab8b82df2235142b4320e1bca4a9b1ec70cbb47f
parent5ac79813a59fdd5892ebfef5a511d2a6e93c7fa9
Retry Chocolatey install to workaround failures

Automatically retry up to 3 times on failure when installing
Chocolatey modules, using the 'appveyor-retry' script.  This can be
removed later if needed.

Sometimes Chocolatey returns a 404 for a package that exists.  This
happens a lot.  The official fix is to get the Business edition for
the more-stable private CDN, but since we're an open-source community
effort, sometimes a little kludgery goes a long way.

See http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40579488
And https://github.com/appveyor/ci/issues/418

(cherry picked from commit 19f50b66742c42f9139d34a61a3198981dfbe5ed)
scripts/build/appveyorHelp.psm1