jenkins: fix syntax

This commit is contained in:
Paul Campbell 2018-02-28 22:29:15 +00:00
parent f00492e73a
commit b1b0a6a2c8

18
Jenkinsfile vendored
View file

@ -10,17 +10,15 @@ pipeline {
} }
} }
stage('Build') { stage('Build') {
steps { parallel {
parallel { stage('Java 8') {
stage('Java 8') { withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') {
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') { sh 'mvn clean install'
sh 'mvn clean install'
}
} }
stage('Java 9') { }
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') { stage('Java 9') {
sh 'mvn clean install' withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
} sh 'mvn clean install'
} }
} }
} }