jenkins: fix syntax #2
This commit is contained in:
parent
b1b0a6a2c8
commit
b1d49b01f5
1 changed files with 8 additions and 4 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -12,17 +12,21 @@ pipeline {
|
|||
stage('Build') {
|
||||
parallel {
|
||||
stage('Java 8') {
|
||||
steps {
|
||||
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 1.8') {
|
||||
sh 'mvn clean install'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Java 9') {
|
||||
steps {
|
||||
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
|
||||
sh 'mvn clean install'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Reporting') {
|
||||
steps {
|
||||
junit '**/target/surefire-reports/*.xml'
|
||||
|
|
Loading…
Reference in a new issue