diff options
Diffstat (limited to 'extras/hs-test/script/compress.sh')
-rwxr-xr-x | extras/hs-test/script/compress.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/script/compress.sh b/extras/hs-test/script/compress.sh index 3a4642ea65a..ebc60d25779 100755 --- a/extras/hs-test/script/compress.sh +++ b/extras/hs-test/script/compress.sh @@ -11,7 +11,7 @@ then if [ -n "${WORKSPACE}" ] then echo -n "Copying docker logs..." - dirs=$(jq -r '.[0] | .SpecReports[] | select(.State == "failed") | .LeafNodeText | split("/")[1]' ${HS_ROOT}/summary/report.json) + dirs=$(jq -r '.[0] | .SpecReports[] | select((.State == "failed") or (.State == "timedout") or (.State == "panicked")) | .LeafNodeText | split("/")[1]' ${HS_ROOT}/summary/report.json) for dirName in $dirs; do logDir=/tmp/hs-test/$dirName if [ -d "$logDir" ]; then |