From c939446a74f93d3e93b9e7804653f30d68600e75 Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Mon, 5 Dec 2016 13:26:36 +0100
Subject: [PATCH] artifact uploading and test report

---
 tools/internal_ci/linux/grpc_fuzzer_client.cfg | 5 +++++
 tools/internal_ci/linux/grpc_master.cfg        | 5 +++++
 tools/internal_ci/linux/grpc_master.sh         | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/tools/internal_ci/linux/grpc_fuzzer_client.cfg b/tools/internal_ci/linux/grpc_fuzzer_client.cfg
index 557dc0b390..8251ff8ef2 100644
--- a/tools/internal_ci/linux/grpc_fuzzer_client.cfg
+++ b/tools/internal_ci/linux/grpc_fuzzer_client.cfg
@@ -33,3 +33,8 @@
 # Location of the continuous shell script in repository.
 build_file: "grpc/tools/internal_ci/linux/grpc_fuzzer_client.sh"
 timeout_mins: 1440  # 24 hours is the maximum allowed value
+action {
+  define_artifacts {
+    regex: "grpc/fuzzer_output/**"
+  }
+}
diff --git a/tools/internal_ci/linux/grpc_master.cfg b/tools/internal_ci/linux/grpc_master.cfg
index 3addb47bbd..d2edbdab93 100644
--- a/tools/internal_ci/linux/grpc_master.cfg
+++ b/tools/internal_ci/linux/grpc_master.cfg
@@ -33,3 +33,8 @@
 # Location of the continuous shell script in repository.
 build_file: "grpc/tools/internal_ci/linux/grpc_master.sh"
 timeout_mins: 60
+action {
+  define_artifacts {
+    regex: "grpc/*sponge_log.xml"
+  }
+}
diff --git a/tools/internal_ci/linux/grpc_master.sh b/tools/internal_ci/linux/grpc_master.sh
index 6c7e2c2cd9..ea77d11305 100755
--- a/tools/internal_ci/linux/grpc_master.sh
+++ b/tools/internal_ci/linux/grpc_master.sh
@@ -42,7 +42,7 @@ docker --version || true
 
 git submodule update --init
 
-tools/run_tests/run_tests.py -l c || FAILED="true"
+tools/run_tests/run_tests.py -l c -t -x sponge_log.xml || FAILED="true"
 
 # kill port_server.py to prevent the build from hanging
 ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9
-- 
GitLab