You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/06/07 08:34:49 UTC
[maven-jenkins-env] branch master updated: Revert: Use Java 7 JDK
for all released Maven versions (135a0e16) due to problems to build test
matrix for plugins
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-env.git
The following commit(s) were added to refs/heads/master by this push:
new 29fbc0b Revert: Use Java 7 JDK for all released Maven versions (135a0e16) due to problems to build test matrix for plugins
29fbc0b is described below
commit 29fbc0b0a9d41fd2113c1c3eb347c909cbeeb078
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Jun 7 10:33:11 2020 +0200
Revert: Use Java 7 JDK for all released Maven versions (135a0e16)
due to problems to build test matrix for plugins
---
vars/jenkinsEnv.groovy | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/vars/jenkinsEnv.groovy b/vars/jenkinsEnv.groovy
index 2b91359..c07a010 100644
--- a/vars/jenkinsEnv.groovy
+++ b/vars/jenkinsEnv.groovy
@@ -135,17 +135,11 @@ class jenkinsEnv implements Serializable {
return null
}
}
- /**
- * https://maven.apache.org/docs/history.html
- * 3.1.1 and bellow - Java 5
- * 3.2.x - Java 6
- * 3.3.1 - Java 7
- * 3.7.x (planned) - Java 8
- * for Jenkins - testing only with Java 7+
- */
def jdkForMaven(String version) {
switch(version) {
- case ~/^3\.[012356]\..+/:
+ case ~/^3\.0\..+/:
+ return '6'
+ case ~/^3\.[2356]\..+/:
case '3.x.x':
return '7'
case '3.7.x':