mirror of https://github.com/grpc/grpc-node.git
Merge pull request #50 from nicolasnoble/kokoro-windows
Adding JUnit reports.
This commit is contained in:
commit
07ace87c1a
|
|
@ -29,19 +29,25 @@ nvm use 8.5.0
|
|||
|
||||
call npm install || goto :error
|
||||
|
||||
SET JUNIT_REPORT_STACK=1
|
||||
SET FAILED=0
|
||||
|
||||
for %%v in (4.8.4 6.11.3 7.9.0 8.5.0) do (
|
||||
nvm install %%v
|
||||
nvm use %%v
|
||||
npm install -g npm
|
||||
call npm install -g npm
|
||||
node -e "console.log(process.versions)"
|
||||
|
||||
call .\node_modules\.bin\gulp clean.all || goto :error
|
||||
call .\node_modules\.bin\gulp setup.windows || goto :error
|
||||
call .\node_modules\.bin\gulp native.test || goto :error
|
||||
mkdir reports\node%%v
|
||||
SET JUNIT_REPORT_PATH=reports/node%%v
|
||||
|
||||
call .\node_modules\.bin\gulp clean.all || SET FAILED=1
|
||||
call .\node_modules\.bin\gulp setup.windows || SET FAILED=1
|
||||
call .\node_modules\.bin\gulp native.test || SET FAILED=1
|
||||
)
|
||||
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
||||
node merge_kokoro_logs.js
|
||||
if %FAILED% neq 0 exit /b 1
|
||||
goto :EOF
|
||||
|
||||
:error
|
||||
|
|
|
|||
|
|
@ -17,3 +17,8 @@
|
|||
# Location of the continuous shell script in repository.
|
||||
build_file: "grpc-node/test/kokoro.bat"
|
||||
timeout_mins: 60
|
||||
action {
|
||||
define_artifacts {
|
||||
regex: "github/grpc-node/reports/**/sponge_log.xml"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue