Skip to content

Commit 1310fa4

Browse files
committed
HHH-18844 - Run preVerifyRelease task as part of h2 CI job
1 parent 0001a83 commit 1310fa4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ goal=
44
if [ "$RDBMS" == "h2" ]; then
55
# This is the default.
66
goal="preVerifyRelease"
7+
# Settings needed for `preVerifyRelease` execution - for asciidoctor doc rendering
8+
export GRADLE_OPTS=-Dorg.gradle.jvmargs='-Dlog4j2.disableJmx -Xmx4g -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8'
79
elif [ "$RDBMS" == "hsqldb" ] || [ "$RDBMS" == "hsqldb_2_6" ]; then
810
goal="-Pdb=hsqldb"
911
elif [ "$RDBMS" == "mysql" ] || [ "$RDBMS" == "mysql_8_0" ]; then
@@ -82,4 +84,4 @@ function logAndExec() {
8284
exec "${@}"
8385
}
8486

85-
logAndExec ./gradlew ciCheck ${goal} "${@}" -Plog-test-progress=true --stacktrace
87+
logAndExec ./gradlew ${gradleOpts} ciCheck ${goal} "${@}" -Plog-test-progress=true --stacktrace

0 commit comments

Comments
 (0)