This commit is contained in:
Olivier Lamy 2018-04-18 14:11:53 +10:00 committed by GitHub
parent 81a4493a4a
commit 042fd992bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

12
Jenkinsfile vendored
View File

@ -1,9 +1,9 @@
node ("ubuntu") {
// System Dependent Locations
def mvn = 'Maven 3.5.2'
def jdk ='JDK 1.8 (latest)'
def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
def labels = 'ubuntu'
def buildJdk = 'JDK 1.8 (latest)'
def buildMvn = 'Maven 3.5.2'
node (labels) {
try
{
stage ('Checkout') {
@ -18,7 +18,7 @@ node ("ubuntu") {
{
stage ('Build') {
timeout(120) {
withMaven(maven: mvntool.name, jdk: jdktool.name,
withMaven(maven: buildMvn, jdk: buildJdk,
globalMavenSettingsConfig: deploySettings,
mavenLocalRepo: "${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}"
)