jenkins: use correct name for jdk
This commit is contained in:
parent
05f7e938f6
commit
d4b5f78e23
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Install') {
|
stage('Install') {
|
||||||
steps {
|
steps {
|
||||||
withMaven(maven: 'maven', jdk: 'JDK 8') {
|
withMaven(maven: 'maven', jdk: 'JDK 1.8') {
|
||||||
sh "${mvn} -DskipTests install"
|
sh "${mvn} -DskipTests install"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
withMaven(maven: 'maven', jdk: 'JDK 8') {
|
withMaven(maven: 'maven', jdk: 'JDK 1.8') {
|
||||||
sh "${mvn} --activate-profiles release deploy"
|
sh "${mvn} --activate-profiles release deploy"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue