You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/10/13 02:01:33 UTC

[accumulo-classloaders] branch main updated: Upload test logs on build failure

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

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-classloaders.git


The following commit(s) were added to refs/heads/main by this push:
     new 117ac54  Upload test logs on build failure
117ac54 is described below

commit 117ac5451645d71d9f605f654f706e06e704636f
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Mon Oct 12 22:00:48 2020 -0400

    Upload test logs on build failure
---
 .github/workflows/maven-on-demand.yaml | 2 ++
 .github/workflows/maven.yaml           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/maven-on-demand.yaml b/.github/workflows/maven-on-demand.yaml
index e9ad591..84e1cb8 100644
--- a/.github/workflows/maven-on-demand.yaml
+++ b/.github/workflows/maven-on-demand.yaml
@@ -53,12 +53,14 @@ jobs:
       env:
         MAVEN_OPTS: -Djansi.force=true
     - name: Upload unit test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: surefire-reports
         path: ./**/target/surefire-reports/
         if-no-files-found: ignore
     - name: Upload integration test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: failsafe-reports
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 1074017..8162891 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -51,12 +51,14 @@ jobs:
       env:
         MAVEN_OPTS: -Djansi.force=true
     - name: Upload unit test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: surefire-reports
         path: ./**/target/surefire-reports/
         if-no-files-found: ignore
     - name: Upload integration test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: failsafe-reports