You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2022/08/06 01:59:33 UTC

[archiva-redback-core] branch master updated: jdk11 as default

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

olamy 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 6ae17035 jdk11 as default
6ae17035 is described below

commit 6ae170358e7309f828be9e05200c8e8f1749f9f4
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Aug 6 11:59:29 2022 +1000

    jdk11 as default
---
 Jenkinsfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6a3c91f6..22c370ef 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,9 +28,9 @@
  * Only the war and zip artifacts are archived in the jenkins build archive.
  */
 LABEL = 'ubuntu'
-buildJdk = 'jdk_1.8_latest'
-buildJdk11 = 'jdk_11_latest'
-mavenVersion = 'maven_3.8.5'
+buildJdk = 'jdk_11_latest'
+buildJdk17 = 'jdk_17_latest'
+mavenVersion = 'maven_3.8.6'
 
 def defaultPublishers = [artifactsPublisher(disabled: false), junitPublisher(ignoreAttachments: false, disabled: false),
                          findbugsPublisher(disabled: true), openTasksPublisher(disabled: true),
@@ -52,7 +52,7 @@ pipeline {
     }
 
     stages {
-        stage( 'JDK8' ) {
+        stage( 'JDK11' ) {
             steps {
                 script{
                     if (env.NONAPACHEORG_RUN != 'y' && env.BRANCH_NAME == 'master')
@@ -66,10 +66,10 @@ pipeline {
                 }
             }
         }
-        stage('JDK11') {
+        stage('JDK17') {
             steps {
                 script {
-                    asfStandardBuild.mavenBuild(buildJdk11,"clean install -U -fae -T3",mavenVersion,[])
+                    asfStandardBuild.mavenBuild(buildJdk17,"clean install -U -fae -T3",mavenVersion,[])
                 }
             }
         }