jenkins: fix syntax #2

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

4
Jenkinsfile vendored
View file

@ -12,17 +12,21 @@ pipeline {
stage('Build') { stage('Build') {
parallel { parallel {
stage('Java 8') { stage('Java 8') {
steps {
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') { stage('Java 9') {
steps {
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') { withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
sh 'mvn clean install' sh 'mvn clean install'
} }
} }
} }
} }
}
stage('Reporting') { stage('Reporting') {
steps { steps {
junit '**/target/surefire-reports/*.xml' junit '**/target/surefire-reports/*.xml'