From 8d88f9153aefc83856ed6eb42c6b0d402d8a1a3d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 11 Mar 2018 18:52:15 +0000 Subject: [PATCH] jenkins: use upgraded maven-enforcer-plugin for java 9 compatibility --- Jenkinsfile.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index af48017..baea78b 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -48,7 +48,7 @@ pipeline { stage('Build Java Next') { steps { withMaven(maven: 'maven', jdk: 'JDK Next') { - sh "${mvn} clean install -Djava.version=9" + sh "${mvn} clean install -Djava.version=9 -Dmaven-enforcer-plugin.version=3.0.0-M1" //TODO: check that git status is still clean - i.e. builder didn't update any rulesets } } @@ -56,7 +56,6 @@ pipeline { 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 }