NIFI-9749 - Capture additional logging for system-test workflow runs

This closes #5827

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Paul Grey 2022-03-02 16:21:41 -05:00 committed by exceptionfactory
parent 272f412254
commit 6bc85155f9
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
3 changed files with 22 additions and 4 deletions

View File

@ -82,11 +82,14 @@ jobs:
${{ env.MAVEN_RUN_ARGUMENTS }}
${{ env.MAVEN_PROJECTS }}
- name: Upload Troubleshooting Logs
if: ${{ failure() }}
if: failure() || cancelled()
uses: actions/upload-artifact@v2
with:
name: ubuntu-latest-troubleshooting-logs
path: "**/target/troubleshooting/"
path: |
nifi-system-tests/nifi-system-test-suite/target/failsafe-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/surefire-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/troubleshooting/**/*
retention-days: 7
macos:
@ -126,9 +129,12 @@ jobs:
${{ env.MAVEN_RUN_ARGUMENTS }}
${{ env.MAVEN_PROJECTS }}
- name: Upload Troubleshooting Logs
if: ${{ failure() }}
if: failure() || cancelled()
uses: actions/upload-artifact@v2
with:
name: macos-latest-troubleshooting-logs
path: "**/target/troubleshooting/"
path: |
nifi-system-tests/nifi-system-test-suite/target/failsafe-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/surefire-reports/**/*.txt
nifi-system-tests/nifi-system-test-suite/target/troubleshooting/**/*
retention-days: 7

View File

@ -153,6 +153,12 @@
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>

View File

@ -26,6 +26,12 @@
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>