Skip to content

Commit bbb0643

Browse files
author
Wei Deng
committed
fixed a bug in the env name
1 parent c9cd355 commit bbb0643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def initializeEnvironment() {
4343
'''
4444
}
4545

46-
if (env.CASSANDRA_VERSION.split('-')[0] == 'dse') {
47-
env.DSE_FIXED_VERSION = env.CASSANDRA_VERSION.split('-')[1]
46+
if (env.SERVER_VERSION.split('-')[0] == 'dse') {
47+
env.DSE_FIXED_VERSION = env.SERVER_VERSION.split('-')[1]
4848
sh label: 'Update environment for DataStax Enterprise', script: '''#!/bin/bash -le
4949
cat >> ${HOME}/environment.txt << ENVIRONMENT_EOF
5050
CCM_PATH=${HOME}/ccm

0 commit comments

Comments
 (0)