From 45ef4afb462b5928c821ee38abd426a224681d08 Mon Sep 17 00:00:00 2001 From: Eric Gribkoff Date: Thu, 26 Mar 2020 12:00:06 -0700 Subject: [PATCH] buildscripts: allow per-xds test case artifacts (#6857) (#6861) --- buildscripts/kokoro/xds.cfg | 6 ++++++ buildscripts/kokoro/xds.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/buildscripts/kokoro/xds.cfg b/buildscripts/kokoro/xds.cfg index 9acceb45f48..076c13e2570 100644 --- a/buildscripts/kokoro/xds.cfg +++ b/buildscripts/kokoro/xds.cfg @@ -3,3 +3,9 @@ # Location of the continuous shell script in repository. build_file: "grpc-java/buildscripts/kokoro/xds.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} diff --git a/buildscripts/kokoro/xds.sh b/buildscripts/kokoro/xds.sh index 82b82c0f2f1..f2833c7e50b 100755 --- a/buildscripts/kokoro/xds.sh +++ b/buildscripts/kokoro/xds.sh @@ -17,7 +17,7 @@ shopt -u extglob ../gradlew installDist -x test -PskipCodegen=true -PskipAndroid=true popd -git clone -b "${branch}" https://github.com/grpc/grpc.git +git clone -b "${branch}" --single-branch --depth=1 https://github.com/grpc/grpc.git grpc/tools/run_tests/helper_scripts/prep_xds.sh JAVA_OPTS=-Djava.util.logging.config.file=grpc-java/buildscripts/xds_logging.properties \