jenkins: fix syntax #2

This commit is contained in:
Paul Campbell 2018-02-28 22:31:37 +00:00
parent b1b0a6a2c8
commit b1d49b01f5

12
Jenkinsfile vendored
View file

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