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

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


The following commit(s) were added to refs/heads/3.x by this push:
     new ca73827c6 ninja-fix Port of CASSJAVA-20 changes to 3.x
ca73827c6 is described below

commit ca73827c6c3add68ca6a9c1ed8faaf17eb8098c0
Author: absurdfarce <absurdfa...@apache.org>
AuthorDate: Fri Apr 4 21:31:49 2025 -0500

    ninja-fix Port of CASSJAVA-20 changes to 3.x
---
 Jenkinsfile-datastax | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile-datastax b/Jenkinsfile-datastax
index e8e6a1ecf..21bd9721f 100644
--- a/Jenkinsfile-datastax
+++ b/Jenkinsfile-datastax
@@ -65,14 +65,16 @@ def initializeEnvironment() {
 }
 
 def buildDriver(jabbaVersion) {
-  withEnv(["BUILD_JABBA_VERSION=${jabbaVersion}"]) {
-    sh label: 'Build driver', script: '''#!/bin/bash -le
-      . ${JABBA_SHELL}
-      jabba use ${BUILD_JABBA_VERSION}
+  def buildDriverScript = '''#!/bin/bash -le
 
-      mvn -B -V install -DskipTests
-    '''
-  }
+    . ${JABBA_SHELL}
+    jabba use '''+jabbaVersion+'''
+
+    echo "Building with Java version '''+jabbaVersion+'''"
+
+    mvn -B -V install -DskipTests -Dmaven.javadoc.skip=true
+  '''
+  sh label: 'Build driver', script: buildDriverScript
 }
 
 def executeTests() {
@@ -397,7 +399,7 @@ pipeline {
           }
           stage('Build-Driver') {
             steps {
-              buildDriver(env.JABBA_VERSION)
+              buildDriver('1.8')
             }
           }
           stage('Execute-Tests') {
@@ -511,7 +513,7 @@ pipeline {
           stage('Build-Driver') {
             steps {
               // Jabba default should be a JDK8 for now
-              buildDriver('default')
+              buildDriver('1.8')
             }
           }
           stage('Execute-Tests') {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to