-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic "appveyor-retry" script #418
Comments
Is this in production/available ? I've tried using this to workaround npm install issues in the less.js project without luck. https://ci.appveyor.com/project/lukeapage/less-js/build/626/job/nf4ci3sqx9qjy2m1 The travis-retry worked and solved the problem. But the appveyor-retry did not work. |
Hi Shahar, Thank you for the catch! Here is temporary workaround: less/less.js#2943 --ilya. From: Shahar Soel [mailto:notifications@github.com] Is this in production/available ? I've tried using this to workaround npm install issues in the less.js project without luck. https://ci.appveyor.com/project/lukeapage/less-js/build/626/job/nf4ci3sqx9qjy2m1 The travis-retryhttps://github.com/less/less.js/pull/2941/files#diff-354f30a63fb0907d4ad57269548329e3R28 worked and solved the problem. But the appveyor-retryhttps://github.com/less/less.js/pull/2941/files#diff-180360612c6b8c4ed830919bbb4dd459R18 did not work. — |
Thanks. |
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 appveyor/ci#418
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 appveyor/ci#418
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 appveyor/ci#418
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 appveyor/ci#418
(commit message copied from digitalcircuit/quassel@19f50b6) 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 the following: * http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40579488 * appveyor/ci#418
* .appveyor.yml: Make phantomjs less flaky It looks like the PhantomJS flakiness on TravisCI (see f207c36) happens on [AppVeyor] as well. This adds an [appveyor-retry] command to the `npm test` portion of the AppVeyor test script, to workaround the intermittent failures. [AppVeyor]: https://ci.appveyor.com/project/stefanbuck/browser-extension/build/1.0.177 [appveyor-retry]: http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40504847 * .appveyor.yml: retry Chocolatey installs (commit message copied from digitalcircuit/quassel@19f50b6) 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 the following: * http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40579488 * appveyor/ci#418
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 appveyor/ci#418 (cherry picked from commit 19f50b6)
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 appveyor/ci#418 (cherry picked from commit 19f50b6)
* .appveyor.yml: Make phantomjs less flaky It looks like the PhantomJS flakiness on TravisCI (see 41c7367) happens on [AppVeyor] as well. This adds an [appveyor-retry] command to the `npm test` portion of the AppVeyor test script, to workaround the intermittent failures. [AppVeyor]: https://ci.appveyor.com/project/stefanbuck/browser-extension/build/1.0.177 [appveyor-retry]: http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40504847 * .appveyor.yml: retry Chocolatey installs (commit message copied from digitalcircuit/quassel@19f50b6) 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 the following: * http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry#comment_40579488 * appveyor/ci#418
The script can be used as:
Script will re-try running
<your-command>
for 3 times if exit code was non 0.Discussion: http://help.appveyor.com/discussions/suggestions/816-generic-wrapper-for-retry
Implementation: https://github.com/appveyor/ci/blob/master/scripts/appveyor-retry.cmd
The text was updated successfully, but these errors were encountered: