You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2018/08/12 22:41:26 UTC

[maven-surefire] 02/02: disabled unit tests with JDK11 due to PowerMock des not run with JDK11

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch JAVA11
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit b9a65d02d4531bd65cab157052869112ca055014
Author: Tibor17 <ti...@apache.org>
AuthorDate: Mon Aug 13 00:41:08 2018 +0200

    disabled unit tests with JDK11 due to PowerMock des not run with JDK11
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index a7b331f..896135c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -69,6 +69,9 @@ oses.eachWithIndex { osMapping, indexOfOs ->
                         def boolean makeReports = os == 'linux' && indexOfMaven == mavens.size() - 1 && jdk == 9
                         def failsafeItPort = 8000 + 100 * indexOfMaven + 10 * indexOfJdk
                         def allOptions = options + ["-Dfailsafe-integration-test-port=${failsafeItPort}", "-Dfailsafe-integration-test-stop-port=${1 + failsafeItPort}"]
+                        if (jdk == 11) {
+                            allOptions += ['-DskipUnitTests=true']
+                        }
                         buildProcess(stageKey, jdkName, jdkTestName, mvnName, goals, allOptions, mavenOpts, makeReports)
                     }
                 }