1@rem ########################################################################## 2@rem 3@rem Script to set up Kokoro worker and run Windows tests 4@rem 5@rem ########################################################################## 6@rem 7@rem To run locally execute 'buildscript\kokoro\windows.bat'. 8type c:\VERSION 9 10@rem Enter repo root 11cd /d %~dp0\..\.. 12 13@rem Clear JAVA_HOME to prevent a different Java version from being used 14set JAVA_HOME= 15set PATH=C:\Program Files\java\jdk1.8.0_152\bin;%PATH% 16 17cmd.exe /C "%cd%\gradlew.bat" clean build || exit /b 1 18pushd examples 19cmd.exe /C "%cd%\gradlew.bat" clean assemble check --stacktrace || exit /b 1 20popd 21 22