mirror of https://github.com/apache/nifi.git
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:
parent
272f412254
commit
6bc85155f9
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue