Skip to content

Commit 914ab70

Browse files
committed
Add forkCount for surefire
Fixes following warnings in the build: ``` [WARNING] useSystemClassLoader setting has no effect when not forking [WARNING] The parameter forkCount should likely not be 0. Forking a JVM for tests improves test accuracy. Ensure to have a <forkCount> >= 1. ```
1 parent d652a68 commit 914ab70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ pipeline {
348348
steps {
349349
xvnc(useXauthority: true) {
350350
dir('eclipse.platform.swt') {
351-
sh '''
351+
https://github.com/eclipse-platform/eclipse.platform.swt/pull/2106 sh '''
352352
mvn clean verify \
353-
--batch-mode --threads 1C -V -U -e -DforkCount=0 \
353+
--batch-mode --threads 1C -V -U -e -DforkCount=1 \
354354
-Pbree-libs -Papi-check -Pjavadoc \
355355
-Dcompare-version-with-baselines.skip=false \
356356
-Dorg.eclipse.swt.tests.junit.disable.test_isLocal=true \

0 commit comments

Comments
 (0)