From 5cf469ae0b44dd65802ce1ff087c57b8eceff774 Mon Sep 17 00:00:00 2001 From: Matt Kwong Date: Mon, 10 Jul 2017 17:26:33 -0700 Subject: [PATCH] all: make Kokoro show actual Gradle results (#3208) --- buildscripts/kokoro/windows.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildscripts/kokoro/windows.bat b/buildscripts/kokoro/windows.bat index b7d3a894aa..3c9204355f 100644 --- a/buildscripts/kokoro/windows.bat +++ b/buildscripts/kokoro/windows.bat @@ -32,6 +32,7 @@ echo vcProtobufLibs=%ESCWORKSPACE%\\grpc-java-helper\\protobuf-%PROTOBUF_VER%\\c echo vcProtobufInclude=%ESCWORKSPACE%\\grpc-java-helper\\protobuf-%PROTOBUF_VER%\\cmake\\build\\include>> gradle.properties cmd.exe /C "%WORKSPACE%\gradlew.bat build" +set GRADLEEXIT=%ERRORLEVEL% @rem Rename test results .xml files to format parsable by Kokoro @echo off @@ -41,4 +42,4 @@ for /r %%F in (TEST-*.xml) do ( ) @echo on -exit %%ERRORLEVEL%% +exit %GRADLEEXIT%