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

mck pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/cassandra-java-driver.git


The following commit(s) were added to refs/heads/4.x by this push:
     new a4175f33e Automate latest Cassandra versions when running CI
a4175f33e is described below

commit a4175f33e43344fd1b092aae332ed5979a1bd831
Author: Siyao (Jane) He <[email protected]>
AuthorDate: Mon Oct 28 14:44:22 2024 -0700

    Automate latest Cassandra versions when running CI
    
     patch by Siyao (Jane) He; reviewed by Mick Semb Wever for CASSJAVA-25
---
 Jenkinsfile-asf | 7 ++++---
 ci/run-tests.sh | 4 +++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile-asf b/Jenkinsfile-asf
index a1be4bcd4..0217d0455 100644
--- a/Jenkinsfile-asf
+++ b/Jenkinsfile-asf
@@ -39,9 +39,10 @@ pipeline {
                     }
                     axis {
                         name 'SERVER_VERSION'
-                        values  '3.11.17',
-                                '4.0.13',
-                                '5.0-beta1'
+                        values  '3.11',
+                                '4.0',
+                                '4.1',
+                                '5.0'
                     }
                 }
                 stages {
diff --git a/ci/run-tests.sh b/ci/run-tests.sh
index 02a8070e7..5268bdd71 100755
--- a/ci/run-tests.sh
+++ b/ci/run-tests.sh
@@ -6,5 +6,7 @@ cd $(dirname "$(readlink -f "$0")")/..
 printenv | sort
 mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true
 jabba use ${TEST_JAVA_VERSION}
+# Find out the latest patch version of Cassandra
+PATCH_SERVER_VERSION=$(curl -s https://downloads.apache.org/cassandra/ | grep 
-oP '(?<=href=\")[0-9]+\.[0-9]+\.[0-9]+(?=)' | sort -rV | uniq -w 3 | grep 
$SERVER_VERSION)
 printenv | sort
-mvn -B -V verify -T 1 -Ptest-jdk-${TEST_JAVA_MAJOR_VERSION} 
-DtestJavaHome=$(jabba which ${TEST_JAVA_VERSION}) 
-Dccm.version=${SERVER_VERSION} -Dccm.dse=false 
-Dmaven.test.failure.ignore=true -Dmaven.javadoc.skip=true
+mvn -B -V verify -T 1 -Ptest-jdk-${TEST_JAVA_MAJOR_VERSION} 
-DtestJavaHome=$(jabba which ${TEST_JAVA_VERSION}) 
-Dccm.version=${PATCH_SERVER_VERSION} -Dccm.dse=false 
-Dmaven.test.failure.ignore=true -Dmaven.javadoc.skip=true


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to