This is an automated email from the ASF dual-hosted git repository.
absurdfarce pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-nodejs-driver.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4620e541 ninja-fix: Slight tweak to JVM selection to match what's on
the new runners
4620e541 is described below
commit 4620e5417e7de2fc0dc3d31c683cb028b484092f
Author: absurdfarce <[email protected]>
AuthorDate: Tue Sep 1 16:37:17 2026 -0500
ninja-fix: Slight tweak to JVM selection to match what's on the new runners
---
Jenkinsfile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 24a69bf6..b439b8aa 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,9 +19,13 @@ def initializeEnvironment() {
env.GITHUB_COMMIT_URL = "${GITHUB_PROJECT_URL}/commit/${env.GIT_COMMIT}"
env.NODEJS_VERSION_FULL = nodeVersions[env.NODEJS_VERSION]
- env.JAVA8_HOME="${JABBA_HOME}/jdk/1.8"
- env.JAVA11_HOME="${JABBA_HOME}/jdk/[email protected]"
-
+ env.JAVA8_HOME = sh(label: 'Get JAVA8_HOME (in case ccm needs it)',script:
'''#!/bin/bash -le
+ . ${JABBA_SHELL}
+ jabba which 1.8''', returnStdout: true).trim()
+ env.JAVA11_HOME = sh(label: 'Get JAVA11_HOME (in case ccm needs it)',script:
'''#!/bin/bash -le
+ . ${JABBA_SHELL}
+ jabba which openjdk@11''', returnStdout: true).trim()
+
sh label: 'Assign Node.js global environment', script: '''#!/bin/bash -lex
nodenv versions
echo "Using Node.js runtime ${NODEJS_VERSION} (${NODEJS_VERSION_FULL})"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]