]> git.ipfire.org Git - thirdparty/git.git/commit
ci: split out logic to set up failed test artifacts
authorPatrick Steinhardt <ps@pks.im>
Thu, 9 Nov 2023 08:05:38 +0000 (09:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Nov 2023 09:56:09 +0000 (18:56 +0900)
commite624f206bc07201562619e2a9788e2b3762409fc
treefd4a7aa6a3d15352a46f32c692c32edca802efce
parent412847ced432c558bc4c3ab40dc2ea22ffe7fb8f
ci: split out logic to set up failed test artifacts

We have some logic in place to create a directory with the output from
failed tests, which will then subsequently be uploaded as CI artifacts.
We're about to add support for GitLab CI, which will want to reuse the
logic.

Split the logic into a separate function so that it is reusable.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/lib.sh