jenkins: use upgraded maven-enforcer-plugin for java 9 compatibility
This commit is contained in:
parent
82a0f162ed
commit
8d88f9153a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue