diff --git a/buildscripts/kokoro/windows.bat b/buildscripts/kokoro/windows.bat index 6c50818e7f..b7d3a894aa 100644 --- a/buildscripts/kokoro/windows.bat +++ b/buildscripts/kokoro/windows.bat @@ -15,8 +15,8 @@ mkdir grpc-java-helper @rem Install 7za @rem TODO(mattkwong): After Windows tests are no longer running on Jenkins, 7za @rem doesn't need to be installed and make_dependencies.bat can use unzip instead -wget http://www.7-zip.org/a/7za920.zip -unzip 7za920.zip +wget -q http://www.7-zip.org/a/7za920.zip >NUL +unzip 7za920.zip >NUL mv 7za.exe grpc-java-helper cd grpc-java-helper @@ -34,9 +34,11 @@ echo vcProtobufInclude=%ESCWORKSPACE%\\grpc-java-helper\\protobuf-%PROTOBUF_VER% cmd.exe /C "%WORKSPACE%\gradlew.bat build" @rem Rename test results .xml files to format parsable by Kokoro +@echo off for /r %%F in (TEST-*.xml) do ( mkdir "%%~dpnF" - move "%%F" "%%~dpnF\sponge_log.xml" + move "%%F" "%%~dpnF\sponge_log.xml" >NUL ) +@echo on exit %%ERRORLEVEL%% diff --git a/buildscripts/kokoro/windows.cfg b/buildscripts/kokoro/windows.cfg index d800ac0799..76a78e78de 100644 --- a/buildscripts/kokoro/windows.cfg +++ b/buildscripts/kokoro/windows.cfg @@ -5,7 +5,6 @@ build_file: "grpc-java/buildscripts/kokoro/windows.bat" timeout_mins: 45 action { define_artifacts { - regex: "github/grpc-java/all/build/docs/javadoc/**", regex: "**/build/test-results/**/*.xml" } }