mirror of https://github.com/apache/nifi.git
NIFI-9586 Removed Surefire ForkNodeFactory configuration
- Falling back to default LegacyForkNodeFactory due to SUREFIRE-1800 - Added upload of Surefire results on automated build failures This closes #5675 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
1d353435a5
commit
70aa719cbf
|
@ -55,8 +55,10 @@ jobs:
|
|||
steps:
|
||||
- name: System Information
|
||||
run: |
|
||||
hostname
|
||||
cat /proc/cpuinfo
|
||||
cat /proc/meminfo
|
||||
df
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Cache Maven Dependencies
|
||||
|
@ -93,6 +95,17 @@ jobs:
|
|||
${{ env.MAVEN_COMMAND }}
|
||||
${{ env.MAVEN_PROFILES }}
|
||||
${{ env.MAVEN_PROJECTS }}
|
||||
- name: Upload Test Reports
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: surefire-reports-ubuntu-en
|
||||
path: |
|
||||
./**/target/surefire-reports/*.txt
|
||||
./**/target/surefire-reports/*.xml
|
||||
retention-days: 3
|
||||
if: failure()
|
||||
- name: Post Disk Usage
|
||||
run: df
|
||||
|
||||
macos-build-jp:
|
||||
timeout-minutes: 120
|
||||
|
@ -101,8 +114,10 @@ jobs:
|
|||
steps:
|
||||
- name: System Information
|
||||
run: |
|
||||
hostname
|
||||
top -l 1 | grep PhysMem
|
||||
sysctl machdep.cpu
|
||||
df
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Cache Maven Dependencies
|
||||
|
@ -139,6 +154,17 @@ jobs:
|
|||
${{ env.MAVEN_COMMAND }}
|
||||
${{ env.MAVEN_PROFILES }}
|
||||
${{ env.MAVEN_PROJECTS }}
|
||||
- name: Upload Test Reports
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: surefire-reports-macos-jp
|
||||
path: |
|
||||
./**/target/surefire-reports/*.txt
|
||||
./**/target/surefire-reports/*.xml
|
||||
retention-days: 3
|
||||
if: failure()
|
||||
- name: Post Disk Usage
|
||||
run: df
|
||||
|
||||
windows-build:
|
||||
timeout-minutes: 120
|
||||
|
@ -148,6 +174,7 @@ jobs:
|
|||
- name: System Information
|
||||
run: |
|
||||
systeminfo
|
||||
df
|
||||
- name: Setup Git
|
||||
run: |
|
||||
git config --global core.autocrlf false
|
||||
|
@ -191,3 +218,14 @@ jobs:
|
|||
run: >-
|
||||
${{ env.MAVEN_COMMAND }}
|
||||
${{ env.MAVEN_PROJECTS }}
|
||||
- name: Upload Test Reports
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: surefire-reports-windows-fr
|
||||
path: |
|
||||
./**/target/surefire-reports/*.txt
|
||||
./**/target/surefire-reports/*.xml
|
||||
retention-days: 3
|
||||
if: failure()
|
||||
- name: Post Disk Usage
|
||||
run: df
|
||||
|
|
1
pom.xml
1
pom.xml
|
@ -622,7 +622,6 @@
|
|||
<exclude>**/*ITSpec.class</exclude>
|
||||
</excludes>
|
||||
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||
<forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
|
||||
<argLine combine.children="append">-Xmx1g
|
||||
-Djava.net.preferIPv4Stack=true
|
||||
-Duser.language=${user.language}
|
||||
|
|
Loading…
Reference in New Issue