From 6c083e073d056c4913cd19f7d32988f7937f883c Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 11 Mar 2018 16:40:53 +0000 Subject: [PATCH] jenkins: set java.version for Java Next build and a note --- Jenkinsfile.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 53c9049..af48017 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -48,14 +48,17 @@ pipeline { stage('Build Java Next') { steps { withMaven(maven: 'maven', jdk: 'JDK Next') { - sh "${mvn} clean install" + sh "${mvn} clean install -Djava.version=9" + //TODO: check that git status is still clean - i.e. builder didn't update any rulesets } } } stage('Build Java LTS') { steps { withMaven(maven: 'maven', jdk: 'JDK LTS') { + sh "${mvn} clean install" + //TODO: check that git status is still clean - i.e. builder didn't update any rulesets } } }