From 548d65b2b6116beecb2aa782a0b5428fb20f89a0 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 12 Nov 2019 12:00:16 -0800 Subject: [PATCH] kokoro: correct a path to outputs.zip PiperOrigin-RevId: 280021914 --- scripts/common_bazel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common_bazel.sh b/scripts/common_bazel.sh index a82163297..bbc1a038e 100755 --- a/scripts/common_bazel.sh +++ b/scripts/common_bazel.sh @@ -75,7 +75,7 @@ function collect_logs() { for d in `find -L "bazel-testlogs" -name 'shard_*_of_*' | xargs dirname | sort | uniq`; do junitparser merge `find $d -name test.xml` $d/test.xml cat $d/shard_*_of_*/test.log > $d/test.log - ls -l $d/shard_*_of_*/outputs.zip && zip -r -1 $d/outputs.zip $d/shard_*_of_*/outputs.zip + ls -l $d/shard_*_of_*/test.outputs/outputs.zip && zip -r -1 $d/outputs.zip $d/shard_*_of_*/test.outputs/outputs.zip done find -L "bazel-testlogs" -name 'shard_*_of_*' | xargs rm -rf # Move test logs to Kokoro directory. tar is used to conveniently perform