aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2018-04-18 14:06:00 +1000
committerGitHub <noreply@github.com>2018-04-18 14:06:00 +1000
commit42615d76c71b75453e13739114211d9d8b074bac (patch)
treec7ea65246d2e6cba06c45cb9b76091723a898b9e
parent63f65c9f82c87386eb70dfedb41f1eb73258999f (diff)
downloadarchiva-42615d76c71b75453e13739114211d9d8b074bac.tar.gz
archiva-42615d76c71b75453e13739114211d9d8b074bac.zip
fix jdk name
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 2468094d0..ae6a5949c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,7 @@
node ("ubuntu") {
// System Dependent Locations
def mvntool = tool name: 'Maven 3.5.2', type: 'hudson.tasks.Maven$MavenInstallation'
- def jdktool = tool name: 'jdk8', type: 'hudson.model.JDK'
+ def jdktool = tool name: 'JDK 1.8 (latest)', type: 'hudson.model.JDK'
def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
// Environment
@@ -22,7 +22,7 @@ node ("ubuntu") {
stage ('Build') {
withEnv(mvnEnv) {
timeout(120) {
- withMaven(maven: 'Maven 3.5.2', jdk: 'jdk8',
+ withMaven(maven: 'Maven 3.5.2', jdk: 'JDK 1.8 (latest)',
globalMavenSettingsConfig: deploySettings,
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}"
)