summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2019-11-12 12:00:16 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-12 12:01:37 -0800
commit548d65b2b6116beecb2aa782a0b5428fb20f89a0 (patch)
treea94d8bbc1b04575ee9640ca1ee628208958171fe
parentb82bd24f9495435cadd2713db829b19ce8fcce9d (diff)
kokoro: correct a path to outputs.zip
PiperOrigin-RevId: 280021914
-rwxr-xr-xscripts/common_bazel.sh2
1 files changed, 1 insertions, 1 deletions
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