Skip to content

Commit b4634e1

Browse files
DEVO-810: Adding stage to run tests on spark 3.4
1 parent 99f3cdf commit b4634e1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Jenkinsfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,23 @@ pipeline{
9090
runtests('Release','10.0-9.5','JAVA17_HOME_DIR')
9191
}
9292
}
93+
stage('11.0.2-java8-spark3.4'){
94+
agent {label 'devExpLinuxPool'}
95+
steps{
96+
copyRPM 'Release','11.0.2'
97+
setUpML '$WORKSPACE/xdmp/src/Mark*.rpm'
98+
sh label:'test', script: '''#!/bin/bash
99+
export JAVA_HOME=$JAVA8_HOME_DIR
100+
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
101+
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
102+
cd marklogic-spark-connector
103+
echo "mlPassword=admin" > gradle-local.properties
104+
./gradlew -i mlDeploy
105+
./gradlew test -PsparkVersion="3.4.0" || true
106+
'''
107+
junit '**/build/**/*.xml'
108+
}
109+
}
93110
}
94111
}
95112
}

0 commit comments

Comments
 (0)