You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2019/02/13 06:28:26 UTC

[archiva-redback-core] branch master updated: Trying to fix JDK11 build on CI

This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git


The following commit(s) were added to refs/heads/master by this push:
     new c5ef6ed  Trying to fix JDK11 build on CI
c5ef6ed is described below

commit c5ef6ed1fc2691ff4a33904294248ee41b42ecbf
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Wed Feb 13 07:28:14 2019 +0100

    Trying to fix JDK11 build on CI
---
 Jenkinsfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index dcbbdc4..316b7fc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,6 +30,7 @@
 LABEL = 'ubuntu'
 buildJdk = 'JDK 1.8 (latest)'
 buildJdk11 = 'JDK 11 (latest)'
+mavenVersion = 'Maven 3.5.2'
 
 def defaultPublishers = [artifactsPublisher(disabled: false), junitPublisher(ignoreAttachments: false, disabled: false),
                          findbugsPublisher(disabled: true), openTasksPublisher(disabled: true),
@@ -51,10 +52,10 @@ pipeline {
                 script{
                     if (env.BRANCH_NAME == 'master')
                     {
-                        asfStandardBuild.mavenBuild( buildJdk, "clean deploy -U -fae -T3", 'Maven 3.5.2',
+                        asfStandardBuild.mavenBuild( buildJdk, "clean deploy -U -fae -T3", mavenVersion,
                                                      defaultPublishers )
                     } else {
-                        asfStandardBuild.mavenBuild( buildJdk, "clean install -U -fae -T3", 'Maven 3.5.2',
+                        asfStandardBuild.mavenBuild( buildJdk, "clean install -U -fae -T3", mavenVersion,
                                                      defaultPublishers )
                     }
                 }
@@ -63,7 +64,7 @@ pipeline {
         stage('JDK11') {
             steps {
                 script {
-                    asfStandardBuild.mavenBuild(buildJdk11,"clean install -U -fae -T3",[])
+                    asfStandardBuild.mavenBuild(buildJdk11,"clean install -U -fae -T3",mavenVersion,[])
                 }
             }
         }