You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2021/05/15 08:36:44 UTC

[directory-ldap-api] branch master updated: Build with Java 17-ea

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

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 0bcef1c  Build with Java 17-ea
0bcef1c is described below

commit 0bcef1cc659af24e91920b5ab82fdd3511d51af4
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sat May 15 10:32:00 2021 +0200

    Build with Java 17-ea
---
 Jenkinsfile | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0df1a07..587b370 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,7 +34,7 @@ pipeline {
       }
       agent {
         docker {
-          label 'ubuntu && !H28 && !H36 && !H40'
+          label 'ubuntu'
           image 'apachedirectory/maven-build:jdk-8'
           args '-v $HOME/.m2:/home/hnelson/.m2'
         }
@@ -57,13 +57,13 @@ pipeline {
           }
           agent {
             docker {
-              label 'ubuntu && !H28 && !H36 && !H40'
+              label 'ubuntu'
               image 'apachedirectory/maven-build:jdk-8'
               args '-v $HOME/.m2:/home/hnelson/.m2'
             }
           }
           steps {
-            sh 'mvn -V clean verify'
+            sh 'mvn -U -V clean verify'
           }
           post {
             always {
@@ -79,13 +79,13 @@ pipeline {
           }
           agent {
             docker {
-              label 'ubuntu && !H28 && !H36 && !H40'
+              label 'ubuntu'
               image 'apachedirectory/maven-build:jdk-11'
               args '-v $HOME/.m2:/home/hnelson/.m2'
             }
           }
           steps {
-            sh 'mvn -V clean verify'
+            sh 'mvn -U -V clean verify'
           }
           post {
             always {
@@ -93,20 +93,20 @@ pipeline {
             }
           }
         }
-        stage ('Linux Java 14') {
+        stage ('Linux Java 17') {
           options {
             timeout(time: 4, unit: 'HOURS')
             retry(2)
           }
           agent {
             docker {
-              label 'ubuntu && !H28 && !H36 && !H40'
-              image 'apachedirectory/maven-build:jdk-14'
+              label 'ubuntu'
+              image 'apachedirectory/maven-build:jdk-17'
               args '-v $HOME/.m2:/home/hnelson/.m2'
             }
           }
           steps {
-            sh 'mvn -V clean verify'
+            sh 'mvn -U -V clean verify'
           }
           post {
             always {
@@ -126,7 +126,7 @@ pipeline {
             bat '''
             set JAVA_HOME=F:\\jenkins\\tools\\java\\latest1.8
             set MAVEN_OPTS="-Xmx512m"
-            F:\\jenkins\\tools\\maven\\latest3\\bin\\mvn -V clean verify
+            F:\\jenkins\\tools\\maven\\latest3\\bin\\mvn -U -V clean verify
             '''
           }
           post {
@@ -151,7 +151,7 @@ pipeline {
         sh '''
         export JAVA_HOME=/home/jenkins/tools/java/latest1.8
         export MAVEN_OPTS="-Xmx512m"
-        /home/jenkins/tools/maven/latest3/bin/mvn -V clean deploy -DskipTests
+        /home/jenkins/tools/maven/latest3/bin/mvn -U -V clean deploy -DskipTests
         '''
       }
       post {