Merge pull request #15503 from jtattermusch/coverage_report_as_zip

upload coverage reports as a zip file
pull/15524/head
Jan Tattermusch 7 years ago committed by GitHub
commit 40494bbe89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      tools/internal_ci/linux/grpc_coverage.sh

@ -26,4 +26,16 @@ python tools/run_tests/run_tests.py \
-l all \
-c gcov \
-x sponge_log.xml \
-j 16
-j 16 || FAILED="true"
# HTML reports can't be easily displayed in GCS, so create a zip archive
# and put it under reports directory to get it uploaded as an artifact.
zip -q -r coverage_report.zip reports || true
rm -rf reports || true
mkdir reports || true
mv coverage_report.zip reports || true
if [ "$FAILED" != "" ]
then
exit 1
fi

Loading…
Cancel
Save