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_RUN_ARGUMENTS }}
|
||||||
${{ env.MAVEN_PROJECTS }}
|
${{ env.MAVEN_PROJECTS }}
|
||||||
- name: Upload Troubleshooting Logs
|
- name: Upload Troubleshooting Logs
|
||||||
if: ${{ failure() }}
|
if: failure() || cancelled()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ubuntu-latest-troubleshooting-logs
|
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
|
retention-days: 7
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
@ -126,9 +129,12 @@ jobs:
|
||||||
${{ env.MAVEN_RUN_ARGUMENTS }}
|
${{ env.MAVEN_RUN_ARGUMENTS }}
|
||||||
${{ env.MAVEN_PROJECTS }}
|
${{ env.MAVEN_PROJECTS }}
|
||||||
- name: Upload Troubleshooting Logs
|
- name: Upload Troubleshooting Logs
|
||||||
if: ${{ failure() }}
|
if: failure() || cancelled()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: macos-latest-troubleshooting-logs
|
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
|
retention-days: 7
|
||||||
|
|
|
@ -153,6 +153,12 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
|
@ -26,6 +26,12 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
|
Loading…
Reference in New Issue