mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 12:56:51 +00:00
add context lines to build failures
This commit is contained in:
parent
7a27d3ac0d
commit
bb4e082160
@ -86,7 +86,7 @@ jobs:
|
||||
echo "No maven-build.log found; skipping failure scan."
|
||||
exit 0
|
||||
fi
|
||||
if grep -n "\*\*\* FAILED \*\*\*" maven-build.log; then
|
||||
if grep -C 3 -n "\*\*\* FAILED \*\*\*" maven-build.log; then
|
||||
echo "Failing tests detected above."
|
||||
exit 1
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user