Merge pull request #5317 from murgatroid99/node_test_reporting_fix

Extract reports.xml files from docker images in reports.zip
pull/5385/head
Nicolas Noble 9 years ago
commit cd7bd2664c
  1. 5
      tools/jenkins/build_docker_and_run_tests.sh
  2. 1
      tools/jenkins/docker_run_tests.sh

@ -86,11 +86,6 @@ docker run \
$DOCKER_IMAGE_NAME \
bash -l "/var/local/jenkins/grpc/$DOCKER_RUN_SCRIPT" || DOCKER_FAILED="true"
if [ "$XML_REPORT" != "" ]
then
docker cp "$CONTAINER_NAME:/var/local/git/grpc/$XML_REPORT" $git_root || true
fi
docker cp "$CONTAINER_NAME:/var/local/git/grpc/reports.zip" $git_root || true
unzip -o $git_root/reports.zip -d $git_root || true
rm -f reports.zip

@ -60,5 +60,6 @@ echo '</body></html>' >> index.html
cd ..
zip -r reports.zip reports
find . -name reports.xml | xargs zip reports.zip
exit $exit_code

Loading…
Cancel
Save