diff options
Diffstat (limited to 'extras/hs-test/script')
-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 c6b23cf9bdd..0e153a3b47b 100755 --- a/extras/hs-test/script/compress.sh +++ b/extras/hs-test/script/compress.sh @@ -6,7 +6,7 @@ then if [ -n "${WORKSPACE}" ] then echo -n "Copying docker logs..." - dirs=$(jq -r '.[0] | .SpecReports[] | select(.State == "failed") | .LeafNodeText' ${HS_ROOT}/summary/report.json) + dirs=$(jq -r '.[0] | .SpecReports[] | select(.State == "failed") | .LeafNodeText | split("/")[1]' ${HS_ROOT}/summary/report.json) for dirName in $dirs; do logDir=/tmp/hs-test/$dirName if [ -d "$logDir" ]; then |