diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 44eda01..ab36d12 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -78,6 +78,14 @@ pipeline { } } } + stage('Build Java 11') { + when { expression { dependenciesSupportJDK >= 10 } } + steps { + withMaven(maven: 'maven', jdk: 'JDK 11') { + sh "${mvn} clean --activate-profiles verify verify -Djava.version=11" + } + } + } } }