diff options
author | Adrian Villin <avillin@cisco.com> | 2024-07-29 17:54:58 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-08-21 15:38:19 +0000 |
commit | 4995d0da8cd2569966a7e4e29c8235712743eb4f (patch) | |
tree | 905b7bceb779adcd53592c3d264cb7224f307d30 /extras/hs-test/script/compress.sh | |
parent | fb9dd888096f86192e5c20b6246893b4bc3dd3d3 (diff) |
hs-test: generate core dump, fix docker logs in CI
Type: test
Change-Id: Ie1f66cdc061d3eccefc2ce58e977d88a33340038
Signed-off-by: Adrian Villin <avillin@cisco.com>
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 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 |