Browse Source

Changing build to maven 3.5.4

pull/51/head
Martin Stockhammer 4 years ago
parent
commit
9ea6ed448b
2 changed files with 4 additions and 4 deletions
  1. 3
    3
      Jenkinsfile
  2. 1
    1
      Jenkinsfile-itest

+ 3
- 3
Jenkinsfile View File

buildJdk9 = 'JDK 1.9 (latest)' buildJdk9 = 'JDK 1.9 (latest)'
buildJdk10 = 'JDK 10 (latest)' buildJdk10 = 'JDK 10 (latest)'
buildJdk11 = 'JDK 11 (latest)' buildJdk11 = 'JDK 11 (latest)'
buildMvn = 'Maven 3.5.2'
buildMvn = 'Maven 3.5.4'
//localRepository = ".repository" //localRepository = ".repository"
localRepository = "../.maven_repositories/${env.EXECUTOR_NUMBER}" localRepository = "../.maven_repositories/${env.EXECUTOR_NUMBER}"
mavenOpts = '-Xms1g -Xmx2g -Djava.awt.headless=true' mavenOpts = '-Xms1g -Xmx2g -Djava.awt.headless=true'
// -Dmaven.compiler.fork=true: Do compile in a separate forked process // -Dmaven.compiler.fork=true: Do compile in a separate forked process
// -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail // -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
// -Pci-build: Profile for CI-Server // -Pci-build: Profile for CI-Server
sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
sh "mvn clean deploy -B -U -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
} }
} }
} }
options: publishers options: publishers
) )
{ {
sh "export PATH=$MVN_CMD_DIR:$PATH && mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
sh "mvn clean install -U -B -e -fae -Dmaven.compiler.fork=true -Pci-build -T3"
} }
} }
} }

+ 1
- 1
Jenkinsfile-itest View File



LABEL = 'ubuntu' LABEL = 'ubuntu'
buildJdk = 'JDK 1.8 (latest)' buildJdk = 'JDK 1.8 (latest)'
buildMvn = 'Maven 3.5.2'
buildMvn = 'Maven 3.5.4'
deploySettings = 'archiva-uid-jenkins' deploySettings = 'archiva-uid-jenkins'
DOCKERHUB_CREDS = 'c725478f-9125-460a-900f-1da562e51026' DOCKERHUB_CREDS = 'c725478f-9125-460a-900f-1da562e51026'
//localRepository = ".repository" //localRepository = ".repository"

Loading…
Cancel
Save