Merge pull request #125 from kemitix/update-jenkinsfile
[jenkins] Replace Java 9 and 10 steps with a single Java 11 step
This commit is contained in:
commit
e4c1d1599b
2 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,11 @@
|
||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
5.1.0
|
||||||
|
-----
|
||||||
|
|
||||||
|
* [jenkins] Remove Build under Java 9 step
|
||||||
|
|
||||||
5.0.0
|
5.0.0
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -70,11 +70,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build Java 10') {
|
stage('Build Java 11') {
|
||||||
when { expression { dependenciesSupportJDK >= 10 } }
|
when { expression { dependenciesSupportJDK >= 10 } }
|
||||||
steps {
|
steps {
|
||||||
withMaven(maven: 'maven', jdk: 'JDK 10') {
|
withMaven(maven: 'maven', jdk: 'JDK 11') {
|
||||||
sh "${mvn} clean --activate-profiles verify verify -Djava.version=10"
|
sh "${mvn} clean --activate-profiles verify verify -Djava.version=11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue