Skip to content
Snippets Groups Projects
Commit cd7bd266 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #5317 from murgatroid99/node_test_reporting_fix

Extract reports.xml files from docker images in reports.zip
parents f37ffbc4 9ddd4658
Branches
Tags
No related merge requests found
...@@ -86,11 +86,6 @@ docker run \ ...@@ -86,11 +86,6 @@ docker run \
$DOCKER_IMAGE_NAME \ $DOCKER_IMAGE_NAME \
bash -l "/var/local/jenkins/grpc/$DOCKER_RUN_SCRIPT" || DOCKER_FAILED="true" 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 docker cp "$CONTAINER_NAME:/var/local/git/grpc/reports.zip" $git_root || true
unzip -o $git_root/reports.zip -d $git_root || true unzip -o $git_root/reports.zip -d $git_root || true
rm -f reports.zip rm -f reports.zip
......
...@@ -60,5 +60,6 @@ echo '</body></html>' >> index.html ...@@ -60,5 +60,6 @@ echo '</body></html>' >> index.html
cd .. cd ..
zip -r reports.zip reports zip -r reports.zip reports
find . -name reports.xml | xargs zip reports.zip
exit $exit_code exit $exit_code
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment