You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2025/02/06 10:19:35 UTC

(maven) branch master updated: Make full build upload surefire logs in case of failure. (#2089)

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b470215f8 Make full build upload surefire logs in case of failure. (#2089)
5b470215f8 is described below

commit 5b470215f8c22ed9f5df7518006b7fae067a1446
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Thu Feb 6 11:19:29 2025 +0100

    Make full build upload surefire logs in case of failure. (#2089)
---
 .github/workflows/maven.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 667b2a7848..3b064d0509 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -146,6 +146,13 @@ jobs:
         shell: bash
         run: mvn site -e -B -V -Preporting -Dmaven.repo.local=$HOME/.m2/repository/cached
 
+      - name: Upload test artifacts
+        uses: actions/upload-artifact@v4
+        if: failure()
+        with:
+          name: ${{ github.run_number }}-full-build-artifact-${{ runner.os }}-${{ matrix.java }}
+          path: '**/target/surefire-reports/*'
+
   integration-tests:
     needs: initial-build
     runs-on: ${{ matrix.os }}