all: make Kokoro show actual Gradle results (#3208)

This commit is contained in:
Matt Kwong 2017-07-10 17:26:33 -07:00 committed by GitHub
parent ff0ad5fac3
commit 5cf469ae0b
1 changed files with 2 additions and 1 deletions

View File

@ -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%