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