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:
Paul Campbell 2018-10-07 17:25:03 +01:00 committed by GitHub
commit e4c1d1599b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,11 @@
CHANGELOG
=========
5.1.0
-----
* [jenkins] Remove Build under Java 9 step
5.0.0
-----

View file

@ -70,11 +70,11 @@ pipeline {
}
}
}
stage('Build Java 10') {
stage('Build Java 11') {
when { expression { dependenciesSupportJDK >= 10 } }
steps {
withMaven(maven: 'maven', jdk: 'JDK 10') {
sh "${mvn} clean --activate-profiles verify verify -Djava.version=10"
withMaven(maven: 'maven', jdk: 'JDK 11') {
sh "${mvn} clean --activate-profiles verify verify -Djava.version=11"
}
}
}