Skip to content

Commit

Permalink
Using Jabba to explicitly select Java8 before running tests (for ccm …
Browse files Browse the repository at this point in the history
…support). (#420)
  • Loading branch information
absurdfarce authored May 2, 2024
1 parent eac0fbf commit f767bcc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ def executeTests() {
. ${HOME}/environment.txt
set +o allexport
# Fix Java version at Java8 for now because of dependencies in DSE.
# TODO: This should last us through testing against Cassandra 4.1.x at least but
# will eventually need to be made more generic.
. ${JABBA_SHELL}
jabba use 1.8
npm run ci_jenkins
'''
}
Expand Down Expand Up @@ -302,6 +308,7 @@ pipeline {
SIMULACRON_PATH = '/home/jenkins/simulacron.jar'
CCM_PATH = '/home/jenkins/ccm'
CCM_ENVIRONMENT_SHELL = '/usr/local/bin/ccm_environment.sh'
JABBA_SHELL = '/usr/lib/jabba/jabba.sh'
}

stages {
Expand Down

0 comments on commit f767bcc

Please sign in to comment.