ci: cdrouter: fix missing debug-information output

The move command inadvertently included a backslash, resulting in the
shell treating the asterisk as a literal character rather than a
wildcard. This error in the globbing pattern led to the exclusion of
crucial debug-information in the CDRouter job artifacts. This commit
resolves the issue by removing the backslash, ensuring correct pattern
matching and the inclusion of relevant file.

Fixes: 6cf5635bf50e ("ci: generate coredumps during development")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
Petr Štetiar 2023-12-05 18:31:44 +00:00 committed by Petr Štetiar
parent 841ab24b2c
commit 4a4beaa8a7
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -159,7 +159,7 @@
- .gitlab/scripts/testbed-device.py --target $LABGRID_TARGET power off
- mv console_$LABGRID_TARGET console_$LABGRID_TARGET.txt || true
- tar xzf debug_all.tar.gz || true
- mv debug-\*.txt debug-information-$LABGRID_TARGET.txt || true
- mv debug-*.txt debug-information-$LABGRID_TARGET.txt || true
- ( [ $(tar -tf coredumps_all.tar.gz | wc -l) -eq 0 ] && rm coredumps_all.tar.gz || true ) 2>/dev/null
- mv coredumps_all.tar.gz coredumps-$LABGRID_TARGET.tar.gz 2> /dev/null || true