commit 30f2694fc0ca896a7f2dd500151163b6e23e4871
parent c1606f775ade975085a72eec694726f590c18c67
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Tue, 10 Oct 2023 19:18:23 +0200
Link logs of last failed build.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/command/pthbs-build b/command/pthbs-build
@@ -160,6 +160,7 @@ else
fi
printf "BUILD FAILED: exitcode %s :: %s :: %s :: %s\n" "$ret" "$1" "$workdir" "$logdir"
mkdir -p "$logdir"
+ ln -sf "$(basename "$logdir")" "$(dirname "$logdir")/last_failed_build"
pthbs-digest-tree >"$logdir/workdir-digest" "$workdir"
fi