Sfoglia il codice sorgente

fix jdk name

pull/46/head
Olivier Lamy 6 anni fa
parent
commit
42615d76c7
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Jenkinsfile

+ 2
- 2
Jenkinsfile Vedi File

@@ -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}"
)

Loading…
Annulla
Salva