ruby-changes:55117
From: k0kubun <ko1@a...>
Date: Thu, 21 Mar 2019 14:30:33 +0900 (JST)
Subject: [ruby-changes:55117] k0kubun:r67324 (trunk): Retry vcpkg install failures
k0kubun 2019-03-21 14:30:27 +0900 (Thu, 21 Mar 2019) New Revision: 67324 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67324 Log: Retry vcpkg install failures Modified files: trunk/azure-pipelines.yml Index: azure-pipelines.yml =================================================================== --- azure-pipelines.yml (revision 67323) +++ azure-pipelines.yml (revision 67324) @@ -96,7 +96,17 @@ jobs: https://github.com/ruby/ruby/blob/trunk/azure-pipelines.yml#L96 # bundler: # task: test-bundler steps: - - script: vcpkg --triplet x64-windows install openssl readline zlib + # FIXME: Refactor this. Note that %errorlevel% does not work in for loop. + - script: | + vcpkg --triplet x64-windows install %dependencies% + if %errorlevel% == 0 (exit 0) + sleep 4 + vcpkg --triplet x64-windows install %dependencies% + if %errorlevel% == 0 (exit 0) + sleep 25 + vcpkg --triplet x64-windows install %dependencies% + env: + dependencies: openssl readline zlib - checkout: self fetchDepth: 10 - script: | -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/