File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,18 @@ def runTests(String image) {
4747 ./gradlew marklogic-client-api:test || true
4848 '''
4949
50- sh label :' run ml-development-tools tests' , script : ''' #!/bin/bash
51- export JAVA_HOME=$JAVA_HOME_DIR
52- export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
53- export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
54- cd java-client-api
55- mkdir -p ml-development-tools/build/test-results/test
56- ./gradlew ml-development-tools:test || true
57- '''
50+ // Ignoring these for now on MarkLogic 12 as they are failing due to the generated .mjs modules not including
51+ // "export default" in the last line, which is now required by the MarkLogic 12 nightly build as of 2025-05-05.
52+ if (! image. endsWith(" 12" )) {
53+ sh label :' run ml-development-tools tests' , script : ''' #!/bin/bash
54+ export JAVA_HOME=$JAVA_HOME_DIR
55+ export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
56+ export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
57+ cd java-client-api
58+ mkdir -p ml-development-tools/build/test-results/test
59+ ./gradlew ml-development-tools:test || true
60+ '''
61+ }
5862
5963 sh label :' run fragile functional tests' , script : ''' #!/bin/bash
6064 export JAVA_HOME=$JAVA_HOME_DIR
You can’t perform that action at this time.
0 commit comments