Skip to content

Commit

Permalink
[CI] install tools fail in some workers (elastic#22443) (elastic#22464)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Nov 6, 2020
1 parent 0149af1 commit 4004763
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@ IF ERRORLEVEL 1 (
) ELSE (
curl -sL -o %WORKSPACE%\bin\gvm.exe https://github.com/andrewkroh/gvm/releases/download/v0.2.2/gvm-windows-386.exe
)
IF ERRORLEVEL 1 (
exit /b 1
)
dir "%WORKSPACE%\bin" /b
)
FOR /f "tokens=*" %%i IN ('"gvm.exe" use %GO_VERSION% --format=batch') DO %%i

go env
go get github.com/magefile/mage
mage -version
where mage
mage -version
IF ERRORLEVEL 1 (
exit /b 1
)

if not exist C:\Python38\python.exe (
REM Install python 3.8.
Expand Down

0 comments on commit 4004763

Please sign in to comment.